diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2015-10-05 17:17:54 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-10-05 17:17:54 +0200 |
commit | 427c50c174f7ae307d61a722da4ab53e87819041 (patch) | |
tree | 6d5a0c89a0065ac6cdeb0f2120cf283b7e45a241 /Http/RememberMe | |
parent | d666540ae19bf54addb355f7ff325a6016608a33 (diff) | |
parent | 545528ff1e7a50a50b8e91f27bd667d66a140b14 (diff) | |
download | symfony-security-427c50c174f7ae307d61a722da4ab53e87819041.zip symfony-security-427c50c174f7ae307d61a722da4ab53e87819041.tar.gz symfony-security-427c50c174f7ae307d61a722da4ab53e87819041.tar.bz2 |
Merge branch '2.3' into 2.7
* 2.3:
[Security][bugfix] "Remember me" cookie cleared on logout with custom "secure"/"httponly" config options [1]
[ci] Use current PHP_BINARY when running ./phpunit
Fixed typos
[UPGRADE-3.0] fix bullet indentation
[Security] InMemoryUserProvider now concerns whether user's password is changed when refreshing
Diffstat (limited to 'Http/RememberMe')
-rw-r--r-- | Http/RememberMe/AbstractRememberMeServices.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/RememberMe/AbstractRememberMeServices.php b/Http/RememberMe/AbstractRememberMeServices.php index 3673ff1..b5016ae 100644 --- a/Http/RememberMe/AbstractRememberMeServices.php +++ b/Http/RememberMe/AbstractRememberMeServices.php @@ -293,7 +293,7 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface $this->logger->debug('Clearing remember-me cookie.', array('name' => $this->options['name'])); } - $request->attributes->set(self::COOKIE_ATTR_NAME, new Cookie($this->options['name'], null, 1, $this->options['path'], $this->options['domain'])); + $request->attributes->set(self::COOKIE_ATTR_NAME, new Cookie($this->options['name'], null, 1, $this->options['path'], $this->options['domain'], $this->options['secure'], $this->options['httponly'])); } /** |