From 6501aabc4d1c8a9a293f2e1969c9f72dee5adb73 Mon Sep 17 00:00:00 2001 From: Nivesh Krishna Date: Fri, 2 Jun 2023 00:41:28 +0530 Subject: [PATCH 1/2] update signup link --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d8472d4f..ba9c0e16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -184,8 +184,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\//https:\/\/murena\.io\/signup\/e-email-invite\//' ${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 -- GitLab From 80f9a00154aa957e6b9adb6993cfedd91826f2f1 Mon Sep 17 00:00:00 2001 From: Nivesh Krishna Date: Fri, 2 Jun 2023 00:48:16 +0530 Subject: [PATCH 2/2] Signup link as ARG --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ba9c0e16..42e4cbf8 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 / @@ -185,7 +186,7 @@ RUN curl -fsSL -o oidc_login.tar.gz \ rm oidc_login.tar.gz # Replace "Get your own free account" NC link with murena account link in public pages -RUN sed -i 's/https:\/\/nextcloud.com\/signup\//https:\/\/murena\.io\/signup\/e-email-invite\//' ${BASE_DIR}/core/templates/layout.public.php +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 -- GitLab