Mise en place dans le template d'une URL de reset de password (fixes #4)
This commit is contained in:
parent
050e559f75
commit
6c3adaab2b
|
@ -61,6 +61,7 @@
|
||||||
<variable name='llResetPassword' type='oui/non' description="Permettre aux utilisateurs de réinitialiser leurs mots de passe">
|
<variable name='llResetPassword' type='oui/non' description="Permettre aux utilisateurs de réinitialiser leurs mots de passe">
|
||||||
<value>oui</value>
|
<value>oui</value>
|
||||||
</variable>
|
</variable>
|
||||||
|
<variable name='llResetUrl' type='string' description="Adresse de l'application pour réinitialiser leurs mots de passe" />
|
||||||
<variable name='llRegisterAccount' type='oui/non' description="Permettre aux utilisateurs de créer un compte">
|
<variable name='llRegisterAccount' type='oui/non' description="Permettre aux utilisateurs de créer un compte">
|
||||||
<value>oui</value>
|
<value>oui</value>
|
||||||
</variable>
|
</variable>
|
||||||
|
@ -115,6 +116,10 @@
|
||||||
<param>Custom</param>
|
<param>Custom</param>
|
||||||
<target type='variable'>llRegisterURL</target>
|
<target type='variable'>llRegisterURL</target>
|
||||||
</condition>
|
</condition>
|
||||||
|
<condition name='disabled_if_in' source='llResetPassword'>
|
||||||
|
<param>non</param>
|
||||||
|
<target type='variable'>llResetUrl</target>
|
||||||
|
</condition>
|
||||||
<check name='valid_enum' target='llSkin'>
|
<check name='valid_enum' target='llSkin'>
|
||||||
<param>['bootstrap','dark','impact','pastel']</param>
|
<param>['bootstrap','dark','impact','pastel']</param>
|
||||||
<param name="checkval">False</param>
|
<param name="checkval">False</param>
|
||||||
|
|
|
@ -392,7 +392,11 @@
|
||||||
"oidcOPMetaDataJWKS": null,
|
"oidcOPMetaDataJWKS": null,
|
||||||
"webIDAuthnLevel": 1,
|
"webIDAuthnLevel": 1,
|
||||||
"issuerDBOpenIDActivation": "1",
|
"issuerDBOpenIDActivation": "1",
|
||||||
|
%if %%is_empty(%%llResetUrl)
|
||||||
"mailUrl": "https://%%authWebName/mail.pl",
|
"mailUrl": "https://%%authWebName/mail.pl",
|
||||||
|
%else
|
||||||
|
"mailUrl": "%%llResetUrl",
|
||||||
|
%end if
|
||||||
"maintenance": 0,
|
"maintenance": 0,
|
||||||
"jsRedirect": 0,
|
"jsRedirect": 0,
|
||||||
"cfgAuthor": "Cadoles",
|
"cfgAuthor": "Cadoles",
|
||||||
|
|
Loading…
Reference in New Issue