mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-18 09:20:46 +00:00
feat(user): implement session deletion on password reset
This commit is contained in:
@@ -24,5 +24,6 @@ class ResetUserPassword implements ResetsUserPasswords
|
||||
$user->forceFill([
|
||||
'password' => Hash::make($input['password']),
|
||||
])->save();
|
||||
$user->deleteAllSessions();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user