On Tuesday, December 11, 2018 at 1:58:11 PM UTC-5, Ben Duncan wrote:
>
> Your right: should be:
> Controller:
> def user_bare():
>     username, password = request.post_vars['username'], 
> request.post_vars['password']
>     if not auth.user:
>        form = auth.login_bare(username, password)
>

.login_bare does not generate a form -- it is form programmatically logging 
in without the Auth login form. If you need the login form, use 
auth.login() (or just use the standard user() action).

Anthony

-- 
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