Jim Steil schrieb:
> Christopher Arndt wrote:
>>
>> http://docs.turbogears.org/1.0/UsingVisitFramework#tracking-visits-with-request-parameters
>>
> Thanks for the link.  I hadn't come across that one yet.  The thing I'm
> still struggling with it how to initially provide the userid and
> password for login.  But, I still haven't searched thoroughly for it. 
> Its hard finding time for playing with new things...

Just add the request variables "user_name", "password" and "login" to
the request (GET or POST).

The names of these request params can be configured:

Setting                 Default

identity.form.user_name 'user_name'
identity.form.password  'password'
identity.form.submit    'login'

See http://docs.turbogears.org/1.0/Configuration#identity for documentation.

See
http://trac.turbogears.org/browser/branches/1.1/turbogears/identity/visitor.py#L55
for the implementation (look for the "identity_from_form" method).


Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to