mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 00:46:37 +02: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
|
(emails/send! conn emails/password-recovery
|
||||||
{:to (:email profile)
|
{:to (:email profile)
|
||||||
:token (:token profile)
|
:token (:token profile)
|
||||||
:name (:fullname profile)}))]
|
:name (:fullname profile)})
|
||||||
|
nil)]
|
||||||
|
|
||||||
(db/with-atomic [conn pool]
|
(db/with-atomic [conn pool]
|
||||||
(when-let [profile (profile/retrieve-profile-data-by-email conn email)]
|
(when-let [profile (profile/retrieve-profile-data-by-email conn email)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue