Hello, I'm trying to build an api for a web2py application and I'm stuck with authentication. Not that I haven't done it, but I don't know how to go about it. Consider login for instance, if I want to return a status true indicating a successful login attempt, eg.
#api controller #url/api/login/[email protected]&password=somepassword def login(): response.view = 'generic.json' ... return dict(status=true) how do i verify the login details? especially the password. I believe i can use the email to run a select query, if it gets any row it means the user exists, and then the password? help please -- 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.

