Reduce JWT exp to 30 days
This commit is contained in:
parent
78f450fbef
commit
fae3d0ebaa
1 changed files with 1 additions and 1 deletions
|
@ -24,5 +24,5 @@ pub fn expiration_time() -> u64 {
|
||||||
SystemTime::now()
|
SystemTime::now()
|
||||||
.duration_since(SystemTime::UNIX_EPOCH)
|
.duration_since(SystemTime::UNIX_EPOCH)
|
||||||
.expect("time went backwards")
|
.expect("time went backwards")
|
||||||
.as_secs() + 180 * 24 * 3600
|
.as_secs() + 30 * 24 * 3600
|
||||||
}
|
}
|
Loading…
Reference in a new issue