#2421: No apparent way to implement "remember me" into a login form
----------------------------+-----------------------------------------------
 Reporter:  seedifferently  |       Owner:                  
     Type:  enhancement     |      Status:  new             
 Priority:  normal          |   Milestone:  __unclassified__
Component:  TurboGears      |     Version:  trunk           
 Severity:  normal          |    Keywords:                  
----------------------------+-----------------------------------------------
 Currently the default repoze.who implementation keeps a login active
 during the duration of the session. As soon as the session is closed, the
 auth info is lost. Having a "remember me" checkbox is a common option on
 logins to keep the auth information longer than the duration of the
 session. This way the login can be skipped during later visits.

 When trying to implement this for a client today, I spent several hours
 digging around for an optimal solution before finally throwing an
 embarrassingly terrible monkey-patch into the repose.who auth_tkt plugin
 file.

 Can a solution for this please be documented or implemented? Perhaps
 there's a way to use base_config.sa_auth.form_plugin to inject the
 "identity" object with a max_age parameter, but I simply could not figure
 it out or find a helpful lead on it.

 Gustavo added this capability to repoze.who several months ago, but I am
 unsure how it could be implemented on the TG side of things. For reference
 please see Gustavo's post here:
 http://groups.google.com/group/turbogears/browse_thread/thread/da23799e9b13e451

 I would be more than happy to write documentation on this if a clear
 solution was available.

 Thank you,
 Seth

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2421>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

-- 
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en

Reply via email to