mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
It's called a route [skip ci]
This commit is contained in:
@@ -33,7 +33,8 @@ class Authenticate
|
||||
}
|
||||
} else {
|
||||
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