From 4050566aa079fa4063ae0c081a85333492246d68 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 3 Jun 2018 11:20:48 +0100 Subject: [PATCH] Add the admin user as a moderator --- src/freedombone-app-pleroma | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 2d0fddcb..d846141a 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -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 }