stable

Clone or download

Read-only

Extract the password verification from the LoginManager class

This contribution does not change anything at the functionnal level, it just extracts one of the responsability of the LoginManager class. This is part of story #11649: protect my account with a TOTP code Change-Id: I7930c7cd78f36cd6f1833d43288c65932c9ad57e

Modified Files

Name
M plugins/git/include/Git/HTTP/HTTPController.php +2 −0 Go to diff View file
M plugins/timetracking/include/Timetracking/REST/v1/TimetrackingResource.php +1 −16 Go to diff View file
M plugins/tracker/bin/remove_multiple_artifacts.php +4 −0 Go to diff View file
M src/common/REST/UserManager.class.php +6 −3 Go to diff View file
M src/common/Token/REST/v1/TokenResource.class.php +4 −1 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/user/LoginManager.class.php +17 −23 Go to diff View file
A src/common/user/PasswordVerifier.php +58 −0 Go to diff View file
M src/common/user/UserManager.class.php +2 −1 Go to diff View file
M src/www/account/change_pw.php +7 −13 Go to diff View file
A tests/phpunit/common/User/PasswordVerifierTest.php +57 −0 Go to diff View file
M tests/simpletest/common/user/LoginManagerTest.php +37 −18 Go to diff View file