Add the admin user as a moderator
This commit is contained in:
parent
76f8b0d9a6
commit
4050566aa0
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue