Add proper defaults to user invites (#9739)

This commit is contained in:
Ben Halpern 2020-08-11 11:02:35 -04:00 committed by GitHub
parent 1896c707fc
commit 90287b44e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,8 @@ module Admin
name: name,
username: username,
remote_profile_image_url: Users::ProfileImageGenerator.call,
saw_onboarding: false,
editor_version: :v2,
registered: false)
redirect_to admin_invitations_path
end