From fd4ee5dc8799a1bcc42dd9ec9c3293f8f508d96c Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Tue, 24 Nov 2020 11:08:33 +0100 Subject: [PATCH] Fix reset password bug --- tmpl/lmConf-1.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tmpl/lmConf-1.json b/tmpl/lmConf-1.json index 80d4a31..05b9664 100644 --- a/tmpl/lmConf-1.json +++ b/tmpl/lmConf-1.json @@ -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,