From b7ba4a15f1a25f45732dad84cc26bc0fb91badb8 Mon Sep 17 00:00:00 2001 From: jvanbraekel Date: Thu, 7 Jun 2018 16:14:52 +0200 Subject: [PATCH] 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). --- applications/welcome/views/default/user.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/welcome/views/default/user.html b/applications/welcome/views/default/user.html index d3a4ca6a..e6635ae9 100644 --- a/applications/welcome/views/default/user.html +++ b/applications/welcome/views/default/user.html @@ -10,8 +10,8 @@ {{=T('Register')}}
{{pass}} - {{if request.args(0)=='login' and not 'request_reset_password' in auth.settings.actions_disabled:}} - {{=T('Lost your password?')}} + {{if request.args(0)=='login' and not 'retrieve_password' in auth.settings.actions_disabled:}} + {{=T('Lost your password?')}} {{pass}} {{if request.args(0)=='register':}} {{=T('Login')}}