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

Verified Commit 80f9a001 authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

Signup link as ARG

parent 6501aabc
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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