aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo <hugo.seabrook@gmail.com>2012-11-30 21:25:04 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-11-30 21:25:04 +0100
commit45f67203b182d6a64b9708a22d82a21e455deb74 (patch)
tree94636e132ca682481ee71b210e3135a9c17d5192
parent343358abf61db4640f8e20036d13887d2ae7df9f (diff)
downloadbugs-45f67203b182d6a64b9708a22d82a21e455deb74.tar
bugs-45f67203b182d6a64b9708a22d82a21e455deb74.tar.gz
bugs-45f67203b182d6a64b9708a22d82a21e455deb74.tar.bz2
bugs-45f67203b182d6a64b9708a22d82a21e455deb74.tar.xz
bugs-45f67203b182d6a64b9708a22d82a21e455deb74.zip
Bug 298461: editusers.cgi does not allow you to change only the letter-case of an email address
r/a=LpSolit
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 417072e95..148608722 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -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)