server/tests/Settings/Controller
Bjoern Schiessle 4b3308bf3f
fix can change password check in case of encryption is enabled
Admin should _not_ be able to change password when:
- if an encryption module is loaded and it uses per-user keys
- if encryption is enabled but no encryption modules are loaded

Admin should be able to change the password when:
- no encryption module is loaded and encryption is disabled
- encryption module is loaded but it doesn't require per user keys

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-12-20 12:28:40 +01:00
..
AdminSettingsControllerTest.php Bump autoloader and fix tests 2018-06-29 14:12:06 +02:00
AppSettingsControllerTest.php Fixed tests 2018-06-12 11:13:24 +02:00
AuthSettingsControllerTest.php Just pass uid to the Token stuff 2018-06-18 22:11:54 +02:00
CertificateControllerTest.php Use ::class in test mocks 2017-10-24 17:45:32 +02:00
CheckSetupControllerTest.php Add setup check for pending bigint conversion 2018-12-05 13:42:31 +01:00
MailSettingsControllerTest.php Add testcases for pipe mode 2018-11-29 16:02:37 +01:00
TwoFactorSettingsControllerTest.php Make it possible to enforce mandatory 2FA for groups 2018-10-15 08:22:52 +02:00
UsersControllerTest.php fix can change password check in case of encryption is enabled 2018-12-20 12:28:40 +01:00