mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
fix admin account approval
This commit is contained in:
parent
2eb6680a72
commit
c309a117e7
1 changed files with 1 additions and 0 deletions
|
@ -207,6 +207,7 @@ pushd "$final_path/live"
|
||||||
RAILS_ENV=production bundle exec rails assets:precompile --quiet
|
RAILS_ENV=production bundle exec rails assets:precompile --quiet
|
||||||
RAILS_ENV=production bundle exec rake mastodon:webpush:generate_vapid_key > key.txt
|
RAILS_ENV=production bundle exec rake mastodon:webpush:generate_vapid_key > key.txt
|
||||||
RAILS_ENV=production bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=admin > acc.txt
|
RAILS_ENV=production bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=admin > acc.txt
|
||||||
|
RAILS_ENV=production bin/tootctl accounts modify "$admin" --approve
|
||||||
popd
|
popd
|
||||||
|
|
||||||
admin_pass=$( tail -1 $final_path/live/acc.txt | head -1 | cut -c 15- )
|
admin_pass=$( tail -1 $final_path/live/acc.txt | head -1 | cut -c 15- )
|
||||||
|
|
Loading…
Reference in a new issue