forked from GNUsocial/gnu-social
allow access to confirm first for not-logged-in users
This commit is contained in:
parent
81bcdfe2be
commit
2b995c943f
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user