Merge remote-tracking branch 'parent/main' into upstream-20240226
This commit is contained in:
commit
1802e318f9
85 changed files with 814 additions and 212 deletions
|
@ -544,6 +544,7 @@ namespace :mastodon do
|
|||
owner_role = UserRole.find_by(name: 'Owner')
|
||||
user = User.new(email: email, password: password, confirmed_at: Time.now.utc, account_attributes: { username: username }, bypass_invite_request_check: true, role: owner_role)
|
||||
user.save(validate: false)
|
||||
user.approve!
|
||||
|
||||
Setting.site_contact_username = username
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue