Commit f83946ef authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent f4e1f95e
<?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
#
......@@ -152,7 +152,7 @@ if ($user = User::Lookup($username)) {
if ($user->weblogin_frozen()) {
$errors["username"] = "This account is frozen";
}
elseif ($user->email() != $email) {
elseif (strtolower($user->email()) != strtolower($email)) {
$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