nextcloud/lib/private/Share20
Daniel Calviño Sánchez 6ca312eec9 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 11:37:43 +00:00
..
Exception Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DefaultShareProvider.php Merge pull request #20181 from nextcloud/bugfix/noid/dont-break-on-path-null 2020-04-14 18:56:58 +02:00
Hooks.php Update license headers 2019-12-05 15:38:45 +01:00
LegacyHooks.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Manager.php Fix disabling send password by Talk without new password in mail shares 2020-05-29 11:37:43 +00:00
ProviderFactory.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Share.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ShareHelper.php Update license headers 2019-12-05 15:38:45 +01:00