This commit is contained in:
James Cole
2020-11-07 17:19:23 +01:00
parent febcbac1de
commit 4fa92ed5f7
4 changed files with 13 additions and 1 deletions

View File

@@ -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();