From 3058f53bacff01f5e5a67936a6eba0f7fa7b39d6 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sun, 21 Apr 2019 09:37:29 -0700 Subject: [PATCH] update simple-auth example --- simple-auth-server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple-auth-server/src/main.rs b/simple-auth-server/src/main.rs index cebfcd04..9fd7c440 100644 --- a/simple-auth-server/src/main.rs +++ b/simple-auth-server/src/main.rs @@ -65,7 +65,7 @@ fn main() -> std::io::Result<()> { .name("auth") .path("/") .domain(domain.as_str()) - .max_age(Duration::days(1)) + .max_age_time(Duration::days(1)) .secure(false), // this can only be true if you have https )) // everything under '/api/' route