mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-13 07:53:16 +00:00
It's called a route [skip ci]
This commit is contained in:
@@ -33,7 +33,8 @@ class Authenticate
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (intval(Auth::user()->blocked) === 1) {
|
if (intval(Auth::user()->blocked) === 1) {
|
||||||
return redirect()->route('logout');
|
Auth::guard($this->getGuard())->logout();
|
||||||
|
return redirect()->guest('login');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user