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

Commit 81b58bd4 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

fix(oidc_login): change sed redirect path in core-login.js from /apps/oidc_login/oidc to /

parent 9ee944d6
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ RUN rm -rf ${TMP_PATCH_DIR}
RUN sed -i 's/$this->getAvatarImage($user)/null/' ${BASE_DIR}/apps/dav/lib/CardDAV/Converter.php

# redirect user to sso login on successful resetting password
RUN cd ${BASE_DIR}/dist && sed -i "s|window\.location\.href=(0,g\.Jv)(\"login\")|window.location.href = '/apps/oidc_login/oidc'|g" core-login.js
RUN cd ${BASE_DIR}/dist && sed -i "s|window\.location\.href=(0,g\.Jv)(\"login\")|window.location.href = '/'|g" core-login.js

# 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