Skip to content

Commit 56c68dd

Browse files
committed
fix error
1 parent bf10b18 commit 56c68dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controllers/OAuthController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function callBack(): RedirectResponse
8585
if ($this->checkExistenceUser($find) === false) {
8686
// Check config setting first to see if it can register automatically or not
8787
if (config('ShieldOAuthConfig')->oauthConfigs[$oauthName]['allow_register'] === false) {
88-
return redirect()->to(config('Auth')->logoutRedirect())->with('error', lang('ShieldOAuthLang.Callback.account_not_found', [$userInfo->email])));
88+
return redirect()->to(config('Auth')->logoutRedirect())->with('error', lang('ShieldOAuthLang.Callback.account_not_found', [$userInfo->email]));
8989
}
9090

9191
helper('text');

0 commit comments

Comments
 (0)