diff --git a/backend/src/app/rpc/commands/auth.clj b/backend/src/app/rpc/commands/auth.clj index 1ed3fa364d..062436dbe6 100644 --- a/backend/src/app/rpc/commands/auth.clj +++ b/backend/src/app/rpc/commands/auth.clj @@ -383,7 +383,9 @@ invitation (when-let [token (:invitation-token params)] (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 (fn []