Sorry for the delay, I was busy on other tasks.
I tried and works like a charm!
Many thanks!
2016-11-24 2:35 GMT+01:00 Anthony :
> On Wednesday, November 23, 2016 at 8:20:48 AM UTC-5, Marvix wrote:
>>
>> so, is there a way to disable the password validator in the login form
>> without modify w
On Wednesday, November 23, 2016 at 8:20:48 AM UTC-5, Marvix wrote:
>
> so, is there a way to disable the password validator in the login form
> without modify web2py core files?
>
Yes, that is exactly my solution. The user() function in the default.py
controller of the scaffolding app is not par
so, is there a way to disable the password validator in the login form
without modify web2py core files?
2016-11-22 14:36 GMT+01:00 Anthony :
> def user():
> if request.args(0) == 'login':
> custom_auth_table.password.requires.pop(0)
> return dict(form=auth())
>
> The default pas
def user():
if request.args(0) == 'login':
custom_auth_table.password.requires.pop(0)
return dict(form=auth())
The default password validator is CRYPT(key=settings.hmac_key,
min_length=settings.password_min_length), and the auth.login() method
automatically resets the min_length
4 matches
Mail list logo