mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 08:04:40 +00:00
fix: clear user info on logout
This commit is contained in:
committed by
Tienson Qin
parent
82aa3abfe6
commit
16c1e30589
@@ -186,6 +186,7 @@
|
||||
|
||||
(defn logout []
|
||||
(clear-tokens)
|
||||
(state/clear-user-info!)
|
||||
(state/pub-event! [:user/logout]))
|
||||
|
||||
(defn <ensure-id&access-token
|
||||
|
||||
Reference in New Issue
Block a user