add login option: stay_logged_in
authorJakob Kramer <jakob.kramer@gmx.de>
Thu, 9 May 2013 22:40:13 +0000 (00:40 +0200)
committerRodney Ewing <ewing.rj@gmail.com>
Thu, 11 Jul 2013 21:56:40 +0000 (14:56 -0700)
commit527b7e3b57906a86dae914daae0399b04b3b5388
tree7b6b5786d0a944e7a1a640bfd1c6192578991843
parenta4dcb1f46a89f33d4946219b02bce6325fb68e50
add login option: stay_logged_in

As proposed in issue #354; it adds an attribute max_age
to mediagoblin.tools.session.Session  that is passed to
response.set_cookie;  max_age is set to 30  days if the
checkbox is selected
mediagoblin/auth/views.py
mediagoblin/plugins/basic_auth/forms.py
mediagoblin/tools/session.py