What really happens is that on the model, 

from gluon.tools import Auth
auth = Auth(db)

then, in your controller, auth is called and inspecting request.args 
('login', 'register', etc) serializes the necessary form.

On Sunday, February 24, 2013 3:46:18 PM UTC+1, NeelSheyal wrote:
>
> Looking into the welcome app... For authentication, 
>
> def users(): 
>   'return dict(form=auth())', 
>
> where is the auth() function defined? I could see that the auth object 
> is created in the db.py model function, what could not find the exact 
> function? 
> Can someone please explain what's happening here? 
>
> Thanks, 
> NS 
>

-- 

--- 
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/groups/opt_out.


Reply via email to