[web2py] Re: Required password

2011-05-30 Thread Dmitriy
Thanks!

[web2py] Re: Required password

2011-05-29 Thread Massimo Di Pierro
I think you want notnull=True not required=True. On May 30, 12:49 am, Dmitriy partsyr...@gmail.com wrote: Hi, How I can make required password field in auth_user? Adding the 'required = True,' doesn't works. Field('password', type='password', required = True,  readable=False,

[web2py] Re: Required password

2011-05-29 Thread Massimo Di Pierro
On a second thought... I think you want db.auth_user.requires=[IS_NOT_EMPTY(),CRYPT(auth.settings.hmac_key)] On May 30, 12:49 am, Dmitriy partsyr...@gmail.com wrote: Hi, How I can make required password field in auth_user? Adding the 'required = True,' doesn't works. Field('password',