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
1 changed files with 9 additions and 0 deletions

View File

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