Function freedit::controller::user::expire_seconds
source · fn expire_seconds(expiry: &str) -> i64
Expand description
Compute expire time in seconds from a string like “1h”, “1day”.
fn expire_seconds(expiry: &str) -> i64
Compute expire time in seconds from a string like “1h”, “1day”.