mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
🐛 Fix loggin issue when user uses the same email as previously deleted profile.
This commit is contained in:
parent
3435684c87
commit
35ca3ec895
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@
|
|||
(defn retrieve-profile-data-by-email
|
||||
[conn email]
|
||||
(try
|
||||
(db/get-by-params conn :profile {:email (str/lower email)})
|
||||
(db/get-by-params conn :profile {:email (str/lower email)
|
||||
:deleted-at nil})
|
||||
(catch Exception _e)))
|
||||
|
||||
;; --- Attrs Helpers
|
||||
|
|
Loading…
Reference in a new issue