diff --git a/Dockerfile b/Dockerfile index d8472d4f1e07445fad28ad85cf54dfbcc67246af..42e4cbf8114131b335a0a69078ba05c533699836 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ ARG GOOGLE_INTEGRATION_VERSION="1.0.9" ARG DASHBOARD_JOB_ID="582062" ARG SNAPPY_VERSION="2.27.2" ARG SNAPPY_THEME_VERSION="2.0.0" +ARG SIGNUP_LINK="https://murena.io/signup/e-email-invite" RUN sed -i 's/25,0,6,1/25,0,6,5/' ${BASE_DIR}/version.php COPY custom_entrypoint.sh / @@ -184,8 +185,8 @@ RUN curl -fsSL -o oidc_login.tar.gz \ tar -xf oidc_login.tar.gz -C ${BASE_DIR}/custom_apps && \ rm oidc_login.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\/\/e-email-invite\//' ${BASE_DIR}/core/templates/layout.public.php +# Replace "Get your own free account" NC link with murena account link in public pages +RUN sed -i "s|https://nextcloud.com/signup|${SIGNUP_LINK}" ${BASE_DIR}/core/templates/layout.public.php # show reset pwd page with a query param # RUN cd ${BASE_DIR}/dist && sed -i 's/resetPassword:!1/resetPassword:!1||Z.showResetPassword==="1"/' core-login.js