nextcloud/lib
Daniel Calviño Sánchez 45de42a6b8 Fix disabling send password by Talk without new password in mail shares
When "send password by Talk" was disabled in a mail share it was
possible to keep the same password as before, as it does not pose any
security issue (unlike keeping it when "send password by Talk" is
enabled, as in that case the password was already disclosed by mail).

However, if a mail share is updated but the password is not set again
only the hashed password will be available. In that case it would not
make sense to send the password by mail, so now the password must be
changed when disabling "send password by Talk".

Note that, even if explicitly setting the same password again along with
the "send password by Talk" property would work, this was also prevented
for simplicity.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 02:46:12 +02:00
..
composer Add lazy events for the Node API 2020-05-28 12:35:45 +02:00
l10n [tx-robot] updated from transifex 2020-05-27 02:16:10 +00:00
private Fix disabling send password by Talk without new password in mail shares 2020-05-29 02:46:12 +02:00
public Add lazy events for the Node API 2020-05-28 12:35:45 +02:00
autoloader.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
base.php Add lazy events for the Node API 2020-05-28 12:35:45 +02:00
versioncheck.php Update license headers 2019-12-05 15:38:45 +01:00