mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
✨ Add from-invitation property to register-profile event
This commit is contained in:
parent
cbc92e9f1e
commit
1c49dd80a4
1 changed files with 3 additions and 1 deletions
|
@ -383,7 +383,9 @@
|
||||||
invitation (when-let [token (:invitation-token params)]
|
invitation (when-let [token (:invitation-token params)]
|
||||||
(tokens/verify (::setup/props cfg) {:token token :iss :team-invitation}))
|
(tokens/verify (::setup/props cfg) {:token token :iss :team-invitation}))
|
||||||
|
|
||||||
props (audit/profile->props profile)
|
props (-> (audit/profile->props profile)
|
||||||
|
(assoc :from-invitation (some? invitation)))
|
||||||
|
|
||||||
|
|
||||||
create-welcome-file-when-needed
|
create-welcome-file-when-needed
|
||||||
(fn []
|
(fn []
|
||||||
|
|
Loading…
Reference in a new issue