Commit 06799830 authored by Leigh Stoller's avatar Leigh Stoller

Another fix to avoid error messages about unapproved users trying to

log into the trac wiki.
parent 9a90e1ad
......@@ -15,6 +15,12 @@ if (!$TRACSUPPORT) {
$this_user = CheckLoginOrDie();
$uid = $this_user->uid();
# The user has to be approved, real account.
if (!HASREALACCOUNT($uid)) {
USERERROR("You may not login to the Emulab Wiki until your account ".
"has been approved and is active.", 1);
}
#
# Verify page arguments. project_title is the project to zap to.
#
......
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