diff --git a/app/Actions/Fortify/ResetUserPassword.php b/app/Actions/Fortify/ResetUserPassword.php index 939cf6e..8b0eb37 100644 --- a/app/Actions/Fortify/ResetUserPassword.php +++ b/app/Actions/Fortify/ResetUserPassword.php @@ -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]],