fix: clear user info on logout

This commit is contained in:
Konstantinos Kaloutas
2023-02-09 12:52:04 +02:00
committed by Tienson Qin
parent 82aa3abfe6
commit 16c1e30589
2 changed files with 5 additions and 0 deletions

View File

@@ -186,6 +186,7 @@
(defn logout []
(clear-tokens)
(state/clear-user-info!)
(state/pub-event! [:user/logout]))
(defn <ensure-id&access-token