mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 22:49:01 -05:00
🐛 Fix error message on login when profile does not have password
This commit is contained in:
parent
b7206d734b
commit
4378d71b70
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@
|
||||||
(= :wrong-credentials (:code cause)))
|
(= :wrong-credentials (:code cause)))
|
||||||
(reset! error (tr "errors.wrong-credentials"))
|
(reset! error (tr "errors.wrong-credentials"))
|
||||||
|
|
||||||
|
(and (= :validation (:type cause))
|
||||||
|
(= :account-without-password (:code cause)))
|
||||||
|
(reset! error (tr "errors.wrong-credentials"))
|
||||||
|
|
||||||
:else
|
:else
|
||||||
(reset! error (tr "errors.generic"))))
|
(reset! error (tr "errors.generic"))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue