mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
✨ Add from-invitation property to register-profile event
This commit is contained in:
@@ -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 []
|
||||||
|
|||||||
Reference in New Issue
Block a user