Skip to content

Commit 324d0fa

Browse files
authored
Update PasswordResetResponse.php (#433)
1 parent 3275e2f commit 324d0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Responses/PasswordResetResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ public function toResponse($request)
3636
{
3737
return $request->wantsJson()
3838
? new JsonResponse(['message' => trans($this->status)], 200)
39-
: redirect(Fortify::redirects('password-reset', route('login')))->with('status', trans($this->status));
39+
: redirect(Fortify::redirects('password-reset', config('fortify.views', true) ? route('login') : null))->with('status', trans($this->status));
4040
}
4141
}

0 commit comments

Comments
 (0)