* milestone: __unclassified__ => 2.1
--
Ticket URL: <http://trac.turbogears.org/ticket/2421#comment:1>
* status: new => closed
* resolution: => fixed
Comment:
gustavonarea: It's fixed in repoze.what-quickstart v1.0.5:
http://code.gustavonarea.net/repoze.what-quickstart/News.html
--
Ticket URL: <http://trac.turbogears.org/ticket/2421#comment:2>
* status: closed => reopened
* resolution: fixed =>
Comment:
Jorge,
Not to disagree with you, but unless I'm missing something here, the
repoze package updates are only part of the issue and don't exactly close
this ticket.
My understanding of Gustavo's update would mean that adding a
base_config.sa_auth.cookie_timeout value to your app_cfg.py would cause
the login to be remembered for the specified amount of time *every time* a
login was done. That is different than in a "remember me" checkbox-form
instance where sometimes you want the login remembered, and sometimes you
do not (based on the user's input).
Perhaps this is a documentation issue now, but in my opinion there is
still "No apparent way to implement 'remember me' into a login form". The
cookie timeout setting should be dynamic enough that it can be toggled as
easily as processing a checkbox value from a login form.
Thanks,
Seth
--
Ticket URL: <http://trac.turbogears.org/ticket/2421#comment:3>
A few weeks ago I received an email requesting this feature. Here's my
response:
{{{
repoze.who-friendlyform is not in charge of remembering the user. This
is why it uses a proper "rememberer" internally -- friendlyform doesn't
read/set cookies.
The place where this should be implemented is in the rememberer used by
friendlyform. So, you can either propose a patch for auth_tkt in
repoze.who or extend friendly form like this:
http://pastebin.com/f7a0abe24
But I'd recommend the first option (fixing it in auth_tkt).
}}}
--
Ticket URL: <http://trac.turbogears.org/ticket/2421#comment:4>