diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-30 16:56:12 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-30 16:56:12 +0100 |
commit | 0e6bb3e802c0614d64366bd19732b37a574dc12c (patch) | |
tree | 01b5d111754a0acef3f8a71da526ce1fbe59de55 /perllib/Catalyst/Plugin/Session/State/Cookie.pm | |
parent | b756440e4b5c0b356ee0d65d1647124317535c95 (diff) | |
parent | fb78afe61194ea9b6fbec9596d69627e315ab97f (diff) |
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet into new_statuses
Conflicts:
perllib/FixMyStreet/App/Controller/Reports.pm
Diffstat (limited to 'perllib/Catalyst/Plugin/Session/State/Cookie.pm')
-rw-r--r-- | perllib/Catalyst/Plugin/Session/State/Cookie.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/Catalyst/Plugin/Session/State/Cookie.pm b/perllib/Catalyst/Plugin/Session/State/Cookie.pm index 7ffc77f1f..c4b61123b 100644 --- a/perllib/Catalyst/Plugin/Session/State/Cookie.pm +++ b/perllib/Catalyst/Plugin/Session/State/Cookie.pm @@ -127,6 +127,8 @@ sub set_session_cookie_expire { else { delete $c->session->{__cookie_expires}; } + # Force the cookie to be regenerated + $c->set_session_id( $c->sessionid ); return 1; } |