mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 18:48:37 -05:00
🐛 Unexpected exception on handling of invitation user registration.
This commit is contained in:
parent
f2fd976934
commit
526b6e1f03
1 changed files with 4 additions and 2 deletions
|
@ -78,8 +78,10 @@
|
||||||
;; profile data.
|
;; profile data.
|
||||||
(let [claims (tokens :verify {:token token :iss :team-invitation})
|
(let [claims (tokens :verify {:token token :iss :team-invitation})
|
||||||
claims (assoc claims :member-id (:id profile))
|
claims (assoc claims :member-id (:id profile))
|
||||||
params (assoc params :profile-id (:id profile))]
|
params (assoc params :profile-id (:id profile))
|
||||||
(process-token conn params claims)
|
cfg (assoc cfg :conn conn)]
|
||||||
|
|
||||||
|
(process-token cfg params claims)
|
||||||
|
|
||||||
;; Automatically mark the created profile as active because
|
;; Automatically mark the created profile as active because
|
||||||
;; we already have the verification of email with the
|
;; we already have the verification of email with the
|
||||||
|
|
Loading…
Add table
Reference in a new issue