From c309a117e7eacc2bdaaa8057ddf4411fc6bd9bd9 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 19 May 2020 19:19:02 +0200 Subject: [PATCH] fix admin account approval --- scripts/install | 1 + 1 file changed, 1 insertion(+) 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- )