aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-05-19 19:19:02 +0200
committeryalh76 <yalh@yahoo.com>2020-05-19 19:19:02 +0200
commitc309a117e7eacc2bdaaa8057ddf4411fc6bd9bd9 (patch)
tree89dae4757285f169ec6a2e22b9790fbf6ccdbc6e
parent2eb6680a727a36ac5bcb179d20eec5c6a4c871d3 (diff)
downloadmastodon_ynh-c309a117e7eacc2bdaaa8057ddf4411fc6bd9bd9.tar.gz
mastodon_ynh-c309a117e7eacc2bdaaa8057ddf4411fc6bd9bd9.tar.bz2
mastodon_ynh-c309a117e7eacc2bdaaa8057ddf4411fc6bd9bd9.zip
fix admin account approval
-rw-r--r--scripts/install1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install
index 8f4f223..1f1a11f 100644
--- a/scripts/install
+++ b/scripts/install
@@ -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- )