Commit f4a3b73f authored by drsassafras's avatar drsassafras

[FIX] Resolved bug where admin can not validate users.

parent 35c0d875
......@@ -1566,7 +1566,7 @@ class UsersLib extends TikiLib
$user = $res['login'];
// check for account flags
if ($res['waiting'] == 'u'){ // if account is in validation mode.
if ($res['waiting'] == 'u' || 'a'){ // if account is in validation mode.
if ($pass == $res['valid']) // if user sucessfully provies code from email
return array(USER_VALID, $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