Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Dec 16, 2024
1 parent 0526454 commit af1a4b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Controllers/OAuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ public function handleProviderCallback(Request $request, string $provider)
->login($user, config('statamic.oauth.remember_me', true));

return redirect()->to($this->successRedirectUrl());
} else {
return redirect()->to($this->unauthorizedRedirectUrl());
}

return redirect()->to($this->unauthorizedRedirectUrl());
}

protected function successRedirectUrl()
Expand Down

0 comments on commit af1a4b8

Please sign in to comment.