Commit 3c393bb6 authored by Leigh Stoller's avatar Leigh 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