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?
Activity
Jonathan Reissmueller
created issue -
Jonathan Reissmueller
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Fix Version/s | 5.1.0-b2 [ 11713 ] | |
Fix Version/s | Short Term [ 10800 ] |
Jonathan Reissmueller
made changes -
Sprint | 5.1.0-b2 Sprint 1 [ 136 ] |
Jonathan Reissmueller
made changes -
Rank | Ranked lower |
Jonathan Reissmueller
made changes -
Assignee | Jonathan Reissmueller [ jonathan ] |
Jonathan Reissmueller
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Jonathan Reissmueller
made changes -
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 41 minutes [ 2460 ] | |
Worklog Id | 15030 [ 15030 ] |
Jonathan Reissmueller
made changes -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Jonathan Reissmueller
made changes -
Status | In Review [ 5 ] | Closed [ 6 ] |