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 <[email protected]> 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,
> label=T('Password')),
>
> I use web2py 1.95.1, sqlite on Windows.
>
> Thanks a lot,
> Dmitriy

Reply via email to