Skip to content

Commit

Permalink
[4.x] Bring back the password reset for non-OAuth sites (#8396)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmcdade committed Jul 3, 2023
1 parent 62451f1 commit f806b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/CP/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function showLoginForm(Request $request)
$data = [
'title' => __('Log in'),
'oauth' => $enabled = OAuth::enabled(),
'emailLoginEnabled' => $enabled ? config('statamic.oauth.email_login_enabled') : false,
'emailLoginEnabled' => $enabled ? config('statamic.oauth.email_login_enabled') : true,
'providers' => $enabled ? OAuth::providers() : [],
'referer' => $this->getReferrer($request),
'hasError' => $this->hasError(),
Expand Down

0 comments on commit f806b6b

Please sign in to comment.