diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/models/auth.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/auth.rs b/src/models/auth.rs index 4453bc7..0c860df 100644 --- a/src/models/auth.rs +++ b/src/models/auth.rs @@ -56,7 +56,7 @@ impl Keys { impl Claims { /// Create a new Claim using the `user_id` and the current timestamp + 2 days pub fn new(user_id: i32) -> Self { - let expiration = Local::now() + Duration::days(2); + let expiration = Local::now() + Duration::days(1); Self { user_id, |
