Commit 09b06e0d authored by Hugo's avatar Hugo Committed by Frédéric Buclin

Bug 298461: editusers.cgi does not allow you to change only the letter-case of an email address

r/a=LpSolit
parent 02f4d9da
......@@ -208,7 +208,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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment