mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Code for #4023
This commit is contained in:
@@ -198,6 +198,9 @@ class LoginController extends Controller
|
||||
if ('remote_user_guard' === $authGuard && '' !== $logoutUri) {
|
||||
return redirect($logoutUri);
|
||||
}
|
||||
if ('remote_user_guard' === $authGuard && '' === $logoutUri) {
|
||||
session()->flash('error',trans('firefly.cant_logout_guard'));
|
||||
}
|
||||
|
||||
$this->guard()->logout();
|
||||
|
||||
|
Reference in New Issue
Block a user