mirror of
https://github.com/penpot/penpot.git
synced 2026-05-04 23:59:12 +00:00
🐛 Fix loggin issue when user uses the same email as previously deleted profile.
This commit is contained in:
parent
3435684c87
commit
35ca3ec895
@ -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…
x
Reference in New Issue
Block a user