Clarify OAuth error when provider account has no linked email (#2179)

This commit is contained in:
Lance Pioch
2026-02-06 07:50:37 -05:00
committed by GitHub
parent 55bda569cc
commit 6a548c09a0

View File

@@ -74,7 +74,7 @@ class OAuthController extends Controller
$email = $oauthUser->getEmail();
if (!$email) {
return $this->errorRedirect();
return $this->errorRedirect('No email was linked to your account on the OAuth provider.');
}
$user = User::whereEmail($email)->first();