1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

fix admin account approval

This commit is contained in:
yalh76 2020-05-19 19:19:02 +02:00
parent 2eb6680a72
commit c309a117e7

View file

@ -207,6 +207,7 @@ pushd "$final_path/live"
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 bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=admin > acc.txt
RAILS_ENV=production bin/tootctl accounts modify "$admin" --approve
popd
admin_pass=$( tail -1 $final_path/live/acc.txt | head -1 | cut -c 15- )