diff rhodecode/controllers/login.py @ 2045:5b12cbae0b50 beta

fixed issue with sessions that lead to redirection loops
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 27 Feb 2012 04:28:40 +0200
parents 89efedac4e6c
children 79a95f338fd0 44678a64cfae
line wrap: on
line diff
--- a/rhodecode/controllers/login.py	Sun Feb 26 21:53:36 2012 +0200
+++ b/rhodecode/controllers/login.py	Mon Feb 27 04:28:40 2012 +0200
@@ -73,7 +73,7 @@
                 # If they want to be remembered, update the cookie
                 if c.form_result['remember'] is not False:
                     session.cookie_expires = False
-                    session._set_cookie_values()
+                session._set_cookie_values()
                 session._update_cookie_out()
                 session.save()