Expanded token lifespan to 30 days
This commit is contained in:
parent
c4ff602ec7
commit
0614c4cad0
@ -13,7 +13,7 @@ pub struct Params {
|
|||||||
|
|
||||||
fn get_exp() -> i64 {
|
fn get_exp() -> i64 {
|
||||||
let mut time = chrono::Utc::now();
|
let mut time = chrono::Utc::now();
|
||||||
time += TimeDelta::minutes(30);
|
time += TimeDelta::days(30);
|
||||||
time.timestamp()
|
time.timestamp()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user