[web2py] Re: Authentication without password or blank password

2016-08-21 Thread Anthony
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-e

[web2py] Re: Authentication without password or blank password

2016-08-20 Thread 黄祥
perhaps you can customize auth table and set it password length validator to 0, required and notnull as false ref: http://web2py.com/books/default/chapter/29/09/access-control#Customizing-Auth http://web2py.com/books/default/chapter/29/07/forms-and-validators best regards, stifan -- Resources: