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,