mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 02:28:18 -05:00
🐛 Fix issues on profile deletion procedure
This commit is contained in:
parent
c534a40923
commit
6e28bb9df8
1 changed files with 4 additions and 0 deletions
|
@ -109,6 +109,10 @@
|
|||
(when-not (check-password profile password)
|
||||
(ex/raise :type :validation
|
||||
:code :wrong-credentials))
|
||||
(when-let [deleted-at (:deleted-at profile)]
|
||||
(when (dt/is-after? (dt/now) deleted-at)
|
||||
(ex/raise :type :validation
|
||||
:code :wrong-credentials)))
|
||||
|
||||
profile)]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue