Bug 298461: editusers.cgi does not allow you to change only the letter-case of an email address
r/a=LpSolit git-svn-id: svn://10.0.0.236/trunk@264506 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
316e795b2f
commit
e545ca577a
@ -1 +1 @@
|
||||
8497
|
||||
8498
|
||||
@ -203,7 +203,7 @@ sub check_login_name {
|
||||
check_email_syntax($name);
|
||||
|
||||
# Check the name if it's a new user, or if we're changing the name.
|
||||
if (!ref($invocant) || $invocant->login ne $name) {
|
||||
if (!ref($invocant) || lc($invocant->login) ne lc($name)) {
|
||||
my @params = ($name);
|
||||
push(@params, $invocant->login) if ref($invocant);
|
||||
is_available_username(@params)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user