mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
It's called a route [skip ci]
This commit is contained in:
parent
62f76d08ad
commit
ca3b0a2ab1
@ -32,10 +32,10 @@ class Authenticate
|
||||
return redirect()->guest('login');
|
||||
}
|
||||
} else {
|
||||
if (intval(Auth::user()->blocked) === 1) {
|
||||
Auth::guard($this->getGuard())->logout();
|
||||
return redirect()->guest('login');
|
||||
}
|
||||
// if (intval(Auth::user()->blocked) === 1) {
|
||||
// Auth::guard($this->getGuard())->logout();
|
||||
// return redirect()->guest('login');
|
||||
// }
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
|
Loading…
Reference in New Issue
Block a user