0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 14:39:45 -05:00

🐛 Fix error message on login when profile does not have password

This commit is contained in:
Andrey Antukh 2022-09-29 11:42:45 +02:00
parent b7206d734b
commit 4378d71b70

View file

@ -93,6 +93,10 @@
(= :wrong-credentials (:code cause)))
(reset! error (tr "errors.wrong-credentials"))
(and (= :validation (:type cause))
(= :account-without-password (:code cause)))
(reset! error (tr "errors.wrong-credentials"))
:else
(reset! error (tr "errors.generic"))))