diff --git a/Dockerfile b/Dockerfile index 7fe695e4d0fd78d3c08404e51c5a7e57b6a35c1f..e321a777cff41ae457b11d7d847898886683c22d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -129,6 +129,9 @@ RUN patch -u ${BASE_DIR}/core/templates/layout.guest.php -i ${TMP_PATCH_DIR}/016 RUN patch -u ${BASE_DIR}/core/Command/User/Setting.php -i ${TMP_PATCH_DIR}/018-occ-user-setting.patch RUN rm -rf ${TMP_PATCH_DIR} +# show reset pwd page with a query param +RUN cd ${BASE_DIR}/core/js/dist && sed -i 's/resetPassword:!1/resetPassword:!1||re.showResetPassword==="1"/' login.js + # autocomplete leak tweak apps frontend with sed, disable group suggestion RUN cd ${BASE_DIR}/custom_apps/contacts && sed -i 's/"GROUP","INDIVIDUAL"/"INDIVIDUAL"/g' js/contacts-main.js diff --git a/patches/016-login-screen.patch b/patches/016-login-screen.patch index ac4992ed5a7e4a60917c416c4ff60564802713d1..178fdf2664598a1a9c8ae7917d2a6d9d0a8555e5 100644 --- a/patches/016-login-screen.patch +++ b/patches/016-login-screen.patch @@ -1,5 +1,5 @@ ---- ./core/templates/layout.guest-new.php 2022-06-09 13:47:41.255340395 +0530 -+++ ./core/templates/layout.guest.php 2022-06-16 17:34:38.429775039 +0530 +--- ./core/templates/layout.guest.php 2022-09-12 14:16:28.724884600 +0530 ++++ ./core/templates/layout.guest-new.php 2022-09-12 14:03:12.924884600 +0530 @@ -20,6 +20,7 @@ @@ -7,14 +7,14 @@ + - + @@ -28,8 +29,29 @@ $initialState) { ?> -
-
-+
" > ++
" > + +