This may be tricky, as the Auth system is designed assuming passwords will 
be used. You'll probably have to create your own login and registration 
actions instead of using those provided by Auth. You can use 
auth.login_bare instead to log someone in, though you may need to give 
everyone a non-empty dummy password for that to work. Another option would 
be to skip using auth.login_bare and just manually update auth.user 
yourself -- or store your own login data/flag in the session. Basically, 
you can probably take advantage of the built-in auth_user table, but you'll 
end up handling most of the registration/login/authentication/authorization 
logic yourself.

Anthony

On Saturday, August 20, 2016 at 5:11:23 PM UTC-4, Vin wrote:
>
> Hi all,
>
> I have an application to which I would like to grant access via user name 
> only. No password.
>
> But whenever I try to create a user with a blank password, I get the error 
> "password too short", and the form will not let me continue.
>
> Is there a way to enable minimal authentication, without password, only 
> username?
>
> Cheers
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to