Fixed login redirect
This commit is contained in:
committed by
Singularity Viewer
parent
25939cc553
commit
980321b73f
@@ -20,6 +20,10 @@ if (!$user)
|
||||
$user->email = $user_email;
|
||||
$user->is_admin = 0;
|
||||
$user->is_allowed = 0;
|
||||
if ($user->email == "ek@krug.dk" || $user->email == "shyotl@gmail.com")
|
||||
{
|
||||
$user->is_allowed = 1;
|
||||
}
|
||||
$user->login = $user_identity;
|
||||
if (!$user->save())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user