We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit e119b295 authored by Evan Prodromou's avatar Evan Prodromou

email register is a login action

parent 45b0c5ef
......@@ -71,6 +71,15 @@ class EmailRegistrationPlugin extends Plugin
return true;
}
function onLoginAction($action, &$login)
{
if ($action == 'emailregister') {
$login = true;
return false;
}
return true;
}
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'EmailRegistration',
......
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