Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82275cd2 authored by Ronak Patel's avatar Ronak Patel
Browse files

SED command to add hidden class in 2FA page

parent 47038d88
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -158,5 +158,8 @@ RUN curl -fsSL -o eCloud-theme.tar.gz \
# Replace "Get your own free account" NC link with /e/ Account link in public pages
RUN sed -i 's/https:\/\/nextcloud.com\/signup\//https:\/\/e\.foundation\/<?php p(\$_\[\x27language\x27\]); ?>\/e-email-invite\//' ${BASE_DIR}/core/templates/layout.public.php

# Set default class of hiddden to settings-hint
RUN sed -i 's/settings-hint/settings-hint hidden/' ${BASE_DIR}/apps/settings/templates/settings/personal/security/twofactor.php

ENTRYPOINT ["/custom_entrypoint.sh"]
CMD ["php-fpm"]