🐛 Fix session invalidation issue on password change.

This commit is contained in:
Andrey Antukh 2022-01-14 13:44:33 +01:00
parent 13773d829a
commit 03c91664cb
3 changed files with 9 additions and 8 deletions

View file

@ -27,7 +27,8 @@
(st/emit! (dm/error msg)))))
(defn- on-success
[_]
[form]
(reset! form nil)
(let [msg (tr "dashboard.notifications.password-saved")]
(st/emit! (dm/success msg))))