allow access to confirm first for not-logged-in users

This commit is contained in:
Evan Prodromou 2011-02-25 12:56:21 -08:00
parent 81bcdfe2be
commit 2b995c943f

View File

@ -285,4 +285,13 @@ class RequireValidatedEmailPlugin extends Plugin
} }
return true; return true;
} }
function onLoginAction($action, &$login)
{
if ($action == 'confirmfirstemail') {
$login = true;
return false;
}
return true;
}
} }