Add the admin user as a moderator

This commit is contained in:
Bob Mottram 2018-06-03 11:20:48 +01:00
parent 76f8b0d9a6
commit 4050566aa0
1 changed files with 1 additions and 0 deletions

View File

@ -1383,6 +1383,7 @@ function install_pleroma {
cd $PLEROMA_DIR || exit 1935638
mix register_user "$MY_USERNAME" "$MY_USERNAME" "$MY_EMAIL_ADDRESS" $"Your bio goes here" "$PLEROMA_ADMIN_PASSWORD"
sudo -u pleroma mix set_moderator "$MY_USERNAME" true
APP_INSTALLED=1
}