From beb634198120101dc38afa04c2efd72c0574ffe2 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Fri, 20 Nov 2020 14:44:51 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20llResetUrl=20bug=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tmpl/lmConf-1.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tmpl/lmConf-1.js b/tmpl/lmConf-1.js index 60af145..b0f399b 100644 --- a/tmpl/lmConf-1.js +++ b/tmpl/lmConf-1.js @@ -392,10 +392,12 @@ "oidcOPMetaDataJWKS": null, "webIDAuthnLevel": 1, "issuerDBOpenIDActivation": "1", -%if %%is_empty(%%llResetUrl) +%if %%llResetPassword == "oui" + %if %%is_empty(%%llResetUrl) "mailUrl": "https://%%authWebName/mail.pl", -%else + %else "mailUrl": "%%llResetUrl", + %end if %end if "maintenance": 0, "jsRedirect": 0,