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,