🐛 Making old-password non required again

This commit is contained in:
Alejandro Alonso 2023-07-24 13:27:19 +02:00 committed by Eva
parent db7c4a9265
commit ea2e25b46d
2 changed files with 4 additions and 2 deletions

View file

@ -337,7 +337,8 @@
[:map {:closed true}
[:password-1 :string]
[:password-2 :string]
[:password-old :string]])
;; Social registered users don't have old-password
[:password-old {:optional true} [:maybe :string]]])
(defn update-password
[data]