Warn for password reset when files_encryption is enabled
This patch wil warn the user of the consequences when resetting the password and requires checking a checkbox (as we had in the past) to reset a password. Furthermore I updated the code to use our new classes and added some unit tests for itFixes https://github.com/owncloud/core/issues/11438
Showing
- core/application.php 50 additions, 14 deletionscore/application.php
- core/js/lostpassword.js 6 additions, 13 deletionscore/js/lostpassword.js
- core/lostpassword/controller/lostcontroller.php 79 additions, 85 deletionscore/lostpassword/controller/lostcontroller.php
- core/lostpassword/encrypteddataexception.php 0 additions, 14 deletionscore/lostpassword/encrypteddataexception.php
- core/lostpassword/templates/lostpassword.php 0 additions, 20 deletionscore/lostpassword/templates/lostpassword.php
- core/lostpassword/templates/resetpassword.php 7 additions, 2 deletionscore/lostpassword/templates/resetpassword.php
- tests/core/lostpassword/controller/lostcontrollertest.php 195 additions, 0 deletionstests/core/lostpassword/controller/lostcontrollertest.php
- tests/phpunit-autotest.xml 1 addition, 0 deletionstests/phpunit-autotest.xml
- tests/phpunit.xml.dist 2 additions, 0 deletionstests/phpunit.xml.dist
- tests/settings/controller/mailsettingscontrollertest.php 1 addition, 1 deletiontests/settings/controller/mailsettingscontrollertest.php
Please register or sign in to comment