stable

Clone or download

Read-only

request #24215 Registration from LDAP user don't work anymore with only number

Since gerrit #24377 / c55f4069dc6ad198425e8e26cf05ca8be3b578b8 registration from LDAP user don't work anymore with only number Login from Ldap or Openid connect will be allowed with only numbers if Unix users are not enabled in the platform. In the case login with only numbers are already on the platform, they will be renamed at the first login after the changes with additional "tlp-" prefix. The user will be warned about his login update. Exception before the rename are ignored in order to not block the user login if something goes wrong. Change-Id: I328ae28dddc7256cf181c4abb60b8870a7619a61

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +7 −0 Go to diff View file
A src/common/User/UserLoginValidator.php +65 −0 Go to diff View file
M src/common/User/UserManager.class.php +9 −2 Go to diff View file
M src/common/User/UserNameNormalizer.php +11 −2 Go to diff View file
M src/common/valid/Rule_UserName.php +17 −20 Go to diff View file
A tests/unit/common/User/UserLoginValidatorTest.php +116 −0 Go to diff View file
R tests/unit/common/User/UsernameNameNormalizerTest.php Go to diff View file
M tests/unit/common/valid/Rule_UserNameTest.php +3 −2 Go to diff View file