Reduce JWT exp to 30 days

This commit is contained in:
Sofía Aritz 2024-10-15 22:25:31 +02:00
parent 78f450fbef
commit fae3d0ebaa
Signed by: sofia
GPG key ID: 90B5116E3542B28F

View file

@ -24,5 +24,5 @@ pub fn expiration_time() -> u64 {
SystemTime::now()
.duration_since(SystemTime::UNIX_EPOCH)
.expect("time went backwards")
.as_secs() + 180 * 24 * 3600
.as_secs() + 30 * 24 * 3600
}