mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix error 500 when requesting a password reset
This commit is contained in:
committed by
Andrey Antukh
parent
4703f6d5c7
commit
7bd05d63ac
@@ -400,7 +400,8 @@
|
||||
(emails/send! conn emails/password-recovery
|
||||
{:to (:email profile)
|
||||
:token (:token profile)
|
||||
:name (:fullname profile)}))]
|
||||
:name (:fullname profile)})
|
||||
nil)]
|
||||
|
||||
(db/with-atomic [conn pool]
|
||||
(when-let [profile (profile/retrieve-profile-data-by-email conn email)]
|
||||
|
||||
Reference in New Issue
Block a user