mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Fix:command to make user admin
This commit is contained in:
parent
26787f12cd
commit
a350fef6a8
1 changed files with 2 additions and 2 deletions
|
@ -237,8 +237,8 @@ account = Account.create!(username: '$admin_mastodon')
|
||||||
user = User.create!(email: '$admin_mastodon_mail', password: '$admin_pass', account: account)
|
user = User.create!(email: '$admin_mastodon_mail', password: '$admin_pass', account: account)
|
||||||
CREATEUSER
|
CREATEUSER
|
||||||
su mastodon <<SETADMIN
|
su mastodon <<SETADMIN
|
||||||
RAILS_ENV=production bin/bundle exec rails mastodon:make_admin USERNAME=$admin_mastodon
|
RAILS_ENV=production bin/tootctl accounts modify $admin_mastodon --confirmed
|
||||||
RAILS_ENV=production bin/bundle exec rails mastodon:confirm_email USER_EMAIL=$admin_mastodon_mail
|
RAILS_ENV=production bin/tootctl accounts modify $admin_mastodon --role admin
|
||||||
SETADMIN
|
SETADMIN
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue