Commit 2b995c94 authored by Evan Prodromou's avatar Evan Prodromou

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

parent 81bcdfe2
......@@ -285,4 +285,13 @@ class RequireValidatedEmailPlugin extends Plugin
}
return true;
}
function onLoginAction($action, &$login)
{
if ($action == 'confirmfirstemail') {
$login = true;
return false;
}
return true;
}
}
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