Commit f83946ef authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent f4e1f95e
<?php <?php
# #
# Copyright (c) 2000-2014 University of Utah and the Flux Group. # Copyright (c) 2000-2019 University of Utah and the Flux Group.
# #
# {{{EMULAB-LICENSE # {{{EMULAB-LICENSE
# #
...@@ -152,7 +152,7 @@ if ($user = User::Lookup($username)) { ...@@ -152,7 +152,7 @@ if ($user = User::Lookup($username)) {
if ($user->weblogin_frozen()) { if ($user->weblogin_frozen()) {
$errors["username"] = "This account is frozen"; $errors["username"] = "This account is frozen";
} }
elseif ($user->email() != $email) { elseif (strtolower($user->email()) != strtolower($email)) {
$errors["email"] = "Wrong email address for user"; $errors["email"] = "Wrong email address for user";
} }
} }
......
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