mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 22:21:39 +02:00
✨ Invalidate all other sessions on password change.
This commit is contained in:
parent
abca69f408
commit
bf51e3db60
5 changed files with 18 additions and 9 deletions
|
@ -72,7 +72,10 @@
|
|||
(do
|
||||
(a/>!! (::events-ch cfg) id)
|
||||
(l/update-thread-context! {:profile-id profile-id})
|
||||
(handler (assoc request :profile-id profile-id)))
|
||||
(-> request
|
||||
(assoc :profile-id profile-id)
|
||||
(assoc :session-id id)
|
||||
(handler)))
|
||||
(handler request))))
|
||||
|
||||
;; --- STATE INIT: SESSION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue