Skip to content

Commit 15c8305

Browse files
committed
Updating CamcelCase for password constants
1 parent 5cb6158 commit 15c8305

File tree

3 files changed

+152
-150
lines changed

3 files changed

+152
-150
lines changed

app/Http/Controllers/Auth/NewPasswordController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function ($user) use ($request) {
5858
// If the password was successfully reset, we will redirect the user back to
5959
// the application's home authenticated view. If there is an error we can
6060
// redirect them back to where they came from with their error message.
61-
if ($status == Password::PASSWORD_RESET) {
61+
if ($status == Password::PasswordReset) {
6262
return redirect()->route('login')->with('status', __($status));
6363
}
6464

app/Http/Controllers/Auth/PasswordResetLinkController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function store(Request $request): RedirectResponse
4040
$request->only('email')
4141
);
4242

43-
if ($status == Password::RESET_LINK_SENT) {
43+
if ($status == Password::ResetLinkSent) {
4444
return back()->with('status', __($status));
4545
}
4646

0 commit comments

Comments
 (0)