nextcloud/tests/lib/Share20
Daniel Calviño Sánchez 8e5aa03834 Fix enabling send password by Talk with same password in mail shares
When "send password by Talk" is enabled in a mail share a new password
must be also set. However, when the passwords of the original and the
new share were compared it was not taken into account that the original
password is now hashed, while the new one is not (unless no new password
was sent, in which case the password of the original share was set in
the new share by the controller, but that was already prevented due to
both passwords being literally the same), so it was possible to set the
same password again.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 11:37:43 +00:00
..
DefaultShareProviderTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
LegacyHooksTest.php Use the shorter phpunit syntax for mocked return values 2020-03-25 22:21:27 +01:00
ManagerTest.php Fix enabling send password by Talk with same password in mail shares 2020-05-29 11:37:43 +00:00
ShareHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
ShareTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00