stable

Clone or download

Read-only

User password is provided to REST route

Take the opportunity to OO the password checking method. Part of story #11407 have a test environment with my username and password Change-Id: Ic2d11fd4f780583926f6967eee384fbefe2c26b4

Modified Files

Name
M plugins/create_test_env/include/CreateTestEnv/CreateTestEnvironment.php +18 −5 Go to diff View file
A plugins/create_test_env/include/CreateTestEnv/Exception/InvalidPasswordException.php +39 −0 Go to diff View file
M plugins/create_test_env/include/CreateTestEnv/REST/CreateTestEnvResource.php +18 −13 Go to diff View file
M plugins/create_test_env/include/CreateTestEnv/REST/TestEnvironmentRepresentation.php +0 −6 Go to diff View file
M plugins/create_test_env/tests/rest/CreateTestEnvResourceTest.php +33 −2 Go to diff View file
A plugins/create_test_env/tests/rest/setup_db.sh +9 −0 Go to diff View file
A src/common/Password/PasswordSanityChecker.php +64 −0 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/www/account/change_pw.php +5 −3 Go to diff View file
M src/www/account/register.php +6 −3 Go to diff View file
M src/www/admin/user_changepw.php +5 −4 Go to diff View file
M src/www/admin/usergroup.php +5 −5 Go to diff View file
M src/www/include/account.php +0 −12 Go to diff View file
M src/www/include/check_pw.php +5 −6 Go to diff View file
M tests/rest/bin/setup.sh +8 −0 Go to diff View file