mirror of
https://github.com/actix/actix-extras.git
synced 2025-08-28 18:37:48 +02:00
update to actix web v4 beta 18 (#218)
This commit is contained in:
@@ -363,7 +363,7 @@ impl Inner {
|
||||
fn remove_cookie<B>(&self, res: &mut ServiceResponse<B>) -> Result<(), Error> {
|
||||
let mut cookie = Cookie::named(self.name.clone());
|
||||
cookie.set_value("");
|
||||
cookie.set_max_age(Duration::zero());
|
||||
cookie.set_max_age(Duration::ZERO);
|
||||
cookie.set_expires(OffsetDateTime::now_utc() - Duration::days(365));
|
||||
|
||||
let val =
|
||||
|
Reference in New Issue
Block a user