mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 16:21:57 -05:00
🐛 Fix error 500 when requesting a password reset
This commit is contained in:
parent
4703f6d5c7
commit
7bd05d63ac
1 changed files with 2 additions and 1 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Reference in a new issue