We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de7f4c3 + 1698421 commit 2b1672eCopy full SHA for 2b1672e
src/Controllers/OAuthController.php
@@ -111,7 +111,7 @@ public function callBack(): RedirectResponse
111
$users->addToDefaultGroup($user);
112
}
113
114
- if ($this->userExist->isBanned()) {
+ if ($this->userExist && $this->userExist->isBanned()) {
115
return redirect()->to(config('Auth')->logoutRedirect())->with('error', $this->userExist->getBanMessage() ?? lang('Auth.bannedUser'));
116
117
0 commit comments