mirror of
https://github.com/penpot/penpot.git
synced 2026-05-09 18:18:07 +00:00
🐛 Fix error message on login when profile does not have password
This commit is contained in:
parent
b7206d734b
commit
4378d71b70
@ -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"))))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user