8000 [2.3][SECURITY] Add remember me cookie configuration by klaascuvelier · Pull Request #14491 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[2.3][SECURITY] Add remember me cookie configuration #14491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from
Prev Previous commit
Next Next commit
Revert to 1 line
  • Loading branch information
klaascuvelier committed Oct 6, 2015
commit 017d1288958af23bd6b08e5c00aabe1b9db5d63e
Original file line number Diff line number Diff line change
Expand Up @@ -296,17 +296,7 @@ protected function cancelCookie(Request $request)
$this->logger->debug(sprintf('Clearing remember-me cookie "%s"', $this->options['name']));
}

$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']
)
);
$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']));
}

/**
Expand Down
0