summaryrefslogtreecommitdiffstats
path: root/Http/Session
diff options
context:
space:
mode:
authorAlexander Schwenn <alexander.schwenn@gmail.com>2014-12-20 02:25:16 +0100
committerAlexander Schwenn <alexander.schwenn@gmail.com>2014-12-20 02:42:01 +0100
commitb2e6411a6e1d1556b597c94e045719d418cc8cca (patch)
treebec14eb9f9fe9e6bc8bfaf679ee2a9a3dd28d246 /Http/Session
parent460c9c40e1f1adb1a9efdeeeeda6fd07517099db (diff)
downloadsymfony-security-b2e6411a6e1d1556b597c94e045719d418cc8cca.zip
symfony-security-b2e6411a6e1d1556b597c94e045719d418cc8cca.tar.gz
symfony-security-b2e6411a6e1d1556b597c94e045719d418cc8cca.tar.bz2
[Security] Delete old session on auth strategy migrate
Diffstat (limited to 'Http/Session')
-rw-r--r--Http/Session/SessionAuthenticationStrategy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Session/SessionAuthenticationStrategy.php b/Http/Session/SessionAuthenticationStrategy.php
index 0e688c7..dd258a0 100644
--- a/Http/Session/SessionAuthenticationStrategy.php
+++ b/Http/Session/SessionAuthenticationStrategy.php
@@ -47,7 +47,7 @@ class SessionAuthenticationStrategy implements SessionAuthenticationStrategyInte
return;
case self::MIGRATE:
- $request->getSession()->migrate();
+ $request->getSession()->migrate(true);
return;