Fix bug preventing users from resetting their password.

This commit is contained in:
Matt Young 2024-10-29 19:35:14 -05:00
parent 676153986f
commit 835def4fd3
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class ResetUserPassword implements ResetsUserPasswords
'password' => Hash::make($input['password']),
])->save();
AuditLogEntry::create([
'user' => auth()->user()->email,
'user' => $user->email,
'ip_address' => request()->ip(),
'message' => 'Reset Password',
'affected' => ['users' => [$user->id]],