mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 18:37:41 +02:00
Add secure field to removal cookie (#300)
Closes https://github.com/actix/actix-extras/issues/299
This commit is contained in:
committed by
GitHub
parent
1ac325ab79
commit
8fd166435f
@ -444,6 +444,7 @@ fn delete_session_cookie(
|
||||
) -> Result<(), anyhow::Error> {
|
||||
let removal_cookie = Cookie::build(config.name.clone(), "")
|
||||
.path(config.path.clone())
|
||||
.secure(config.secure)
|
||||
.http_only(config.http_only)
|
||||
.same_site(config.same_site);
|
||||
|
||||
|
Reference in New Issue
Block a user