No redirect on failure

This commit is contained in:
Bob Mottram 2018-03-27 13:35:53 +01:00
parent 0545ecbd51
commit 488764f1c7
1 changed files with 1 additions and 0 deletions

View File

@ -1189,6 +1189,7 @@ function install_pleroma {
# avoid mixed content warnings
sed -i '/config :pleroma, :media_proxy/!b;n;c####enabled: true,' $PLEROMA_DIR/config/config.exs
sed -i 's|####enabled| enabled|g' $PLEROMA_DIR/config/config.exs
sed -i 's|redirect_on_failure:.*|redirect_on_failure: false|g' $PLEROMA_DIR/config/config.exs
# set registrations open initially
sed -i 's|registrations_open:.*|registrations_open: true,|g' $PLEROMA_DIR/config/config.exs