Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.1.0-b2
-
Component/s: None
-
Labels:None
Description
Plesk will sometimes give an error "The username must be in lowercase" even when no username was submitted. This is because the the generateUsername() method includes numbers, but the validation rule for the username uses ctype_lower(), which will return false for a username with numbers.
We can update the rule to use strtolower($username) === $username instead so it will accept numbers.
It is also worth checking if this restriction is actually necessary. Does Plesk require this, or just us?