stable
Clone or download
Read-only
request #23479 Openid and ldap user login generator must be the same
The login generator must be the same for openid and ldap when a new user is created from these ways. Moreover, openid login generator should generate a valid username. It's actually broken when it try to create a login from a name with accent : BadegΓΉl as example. Change-Id: Ifaf77b71d3cdfc5cb52ac8eed048191e3685ba4e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/ldap/include/LDAP_BackendSVN.class.php | +3 | β1 | Go to diff View file |
M | plugins/ldap/include/LDAP_DirectorySynchronization.class.php | +1 | β1 | Go to diff View file |
M | plugins/ldap/include/LDAP_UserGroupManager.class.php | +3 | β1 | Go to diff View file |
M | plugins/ldap/include/LDAP_UserManager.class.php | +9 | β39 | Go to diff View file |
M | plugins/ldap/include/ldapPlugin.php | +2 | β1 | Go to diff View file |
M | plugins/ldap/tests/unit/UserManagerAuthenticateTest.php | +6 | β1 | Go to diff View file |
M | plugins/ldap/tests/unit/UserManagerTest.php | +0 | β62 | Go to diff View file |
M | plugins/openidconnectclient/include/OpenIDConnectClient/Login/Registration/UsernameGenerator.php | +7 | β36 | Go to diff View file |
M | plugins/openidconnectclient/include/openidconnectclientPlugin.php | +3 | β2 | Go to diff View file |
M | plugins/openidconnectclient/tests/unit/Login/Registration/UsernameGeneratorTest.php | +66 | β29 | Go to diff View file |
M | plugins/tracker/composer.json | +0 | β1 | Go to diff View file |
M | plugins/tracker/composer.lock | +2 | β76 | Go to diff View file |
R | plugins/openidconnectclient/include/OpenIDConnectClient/Login/Registration/DataIncompatibleWithUsernameGenerationException.php | Go to diff View file | ||
A | src/common/User/UserNameNormalizer.php | +55 | β0 | Go to diff View file |
M | src/composer.json | +1 | β0 | Go to diff View file |
M | src/composer.lock | +75 | β1 | Go to diff View file |
A | tests/unit/common/User/UsernameNameNormalizerTest.php | +99 | β0 | Go to diff View file |