Skip to content

Commit 03fb42d

Browse files
authored
Fix forgot password
1 parent affd90e commit 03fb42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/Http/Controllers/LoginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public function validateProvider(string $provider)
291291
public function forgotPassword(Request $request)
292292
{
293293
$val = $request->validate(['email' => 'required|email|max:255']);
294-
$email = [Str::lower($val['email'])];
294+
$email = ['email' => Str::lower($val['email'])];
295295
Password::sendResetLink($email);
296296
# Is there a need to handle errors?
297297
}

0 commit comments

Comments
 (0)