|
@@ -47,7 +47,7 @@ PLEROMA_CODE=
|
47
|
47
|
PLEROMA_PORT=4000
|
48
|
48
|
PLEROMA_ONION_PORT=8011
|
49
|
49
|
PLEROMA_REPO="https://git.pleroma.social/pleroma/pleroma.git"
|
50
|
|
-PLEROMA_COMMIT='2f291576e4eef95e6867348e24bc526058518095'
|
|
50
|
+PLEROMA_COMMIT='460062f2b04220ffcd8f20aa842cc95582d1f849'
|
51
|
51
|
PLEROMA_ADMIN_PASSWORD=
|
52
|
52
|
PLEROMA_DIR=/etc/pleroma
|
53
|
53
|
PLEROMA_SECRET_KEY=""
|
|
@@ -570,10 +570,10 @@ function pleroma_disable_registrations {
|
570
|
570
|
--yesno $"\\nDo you wish to disable new registrations?" 10 60
|
571
|
571
|
sel=$?
|
572
|
572
|
case $sel in
|
573
|
|
- 0) sed -i 's|registrations_open:.*|registrations_open: false,|g' $PLEROMA_DIR/config/config.exs
|
|
573
|
+ 0) sed -i 's|registrations_open:.*|registrations_open: false|g' $PLEROMA_DIR/config/config.exs
|
574
|
574
|
sed -i 's|"registrationOpen":.*|"registrationOpen": false,|g' $PLEROMA_DIR/priv/static/static/config.json
|
575
|
575
|
;;
|
576
|
|
- 1) sed -i 's|registrations_open:.*|registrations_open: true,|g' $PLEROMA_DIR/config/config.exs
|
|
576
|
+ 1) sed -i 's|registrations_open:.*|registrations_open: true|g' $PLEROMA_DIR/config/config.exs
|
577
|
577
|
sed -i 's|"registrationOpen":.*|"registrationOpen": true,|g' $PLEROMA_DIR/priv/static/static/config.json
|
578
|
578
|
;;
|
579
|
579
|
255) return;;
|