mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 10:15:40 +00:00
feat(user): implement session deletion on password reset
This commit is contained in:
1 parent
26f4d37346
commit
d7d80e926e
6 files changed
+48
-10
No files matched your search
@@ -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