All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 3c393bb6 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor cleanup.

parent f1834686
......@@ -132,7 +132,7 @@ if (getpwuid($UID) ne "nobody") {
fatal("You ($UID) do not exist!");
}
fatal("You must have admin privledges to create new users")
if (!TBAdmin());
if (!$this_user->IsAdmin());
}
else {
#
......
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