Commit ee77b86e authored by Robert Ricci's avatar Robert Ricci

Direct existing Emulab users to log in if username exists

parent c354ea9a
...@@ -413,7 +413,7 @@ if (!$this_user) { ...@@ -413,7 +413,7 @@ if (!$this_user) {
} }
elseif (User::LookupByUid($formfields["username"])) { elseif (User::LookupByUid($formfields["username"])) {
# Do not allow uid overlap with real users. # Do not allow uid overlap with real users.
$errors["username"] = "Already in use"; $errors["username"] = "Already in use - if you have an Emulab account, log in first";
} }
} }
if (!isset($formfields["profile"]) || $formfields["profile"] == "") { if (!isset($formfields["profile"]) || $formfields["profile"] == "") {
......
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