diff options
Diffstat (limited to 'crates/secd/src/command')
| -rw-r--r-- | crates/secd/src/command/authn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/secd/src/command/authn.rs b/crates/secd/src/command/authn.rs index 862d921..b254614 100644 --- a/crates/secd/src/command/authn.rs +++ b/crates/secd/src/command/authn.rs @@ -214,7 +214,7 @@ impl Secd { identity_id: identity.id, secret: Some(Alphanumeric.sample_string(&mut rand::thread_rng(), SESSION_SIZE_BYTES)), created_at: now, - expires_at: now + expired_at: now .checked_add(Duration::new(SESSION_DURATION, 0)) .ok_or(SecdError::SessionExpiryOverflow)?, revoked_at: None, |
