Update request_reset_password in user.htlm

Update /user/request_reset_password to user/retrieve_password and linked settings option.
According to https://web2py.readthedocs.io/en/latest/_modules/gluon/tools.html#Auth 'request_reset_password' should not even be exposed anymore. (but this is still the case).
This commit is contained in:
jvanbraekel
2018-06-07 16:14:52 +02:00
committed by GitHub
parent 14083907e5
commit b7ba4a15f1
+2 -2
View File
@@ -10,8 +10,8 @@
<a href="{{=URL('user/register')}}">{{=T('Register')}}</a>
<br/>
{{pass}}
{{if request.args(0)=='login' and not 'request_reset_password' in auth.settings.actions_disabled:}}
<a href="{{=URL('user/request_reset_password')}}">{{=T('Lost your password?')}}</a>
{{if request.args(0)=='login' and not 'retrieve_password' in auth.settings.actions_disabled:}}
<a href="{{=URL('user/retrieve_password')}}">{{=T('Lost your password?')}}</a>
{{pass}}
{{if request.args(0)=='register':}}
<a href="{{=URL('user/login')}}">{{=T('Login')}}</a>