docs(gpodder): document session last_seen timestamp's precision should be at least to the second

This commit is contained in:
Jef Roosens 2025-03-19 10:55:20 +01:00
parent 705b347775
commit 0bb0c5657a
No known key found for this signature in database
GPG key ID: 21FD3D77D56BAF49
2 changed files with 5 additions and 1 deletions

View file

@ -45,6 +45,8 @@ pub trait AuthStore {
fn insert_user(&self, username: &str, password_hash: &str) -> Result<User, AuthErr>;
/// Create a new session for a user with the given session ID
///
/// The `last_seen` timestamp's precision should be at least accurate to the second
fn insert_session(&self, session: &Session) -> Result<(), AuthErr>;
/// Remove the session with the given session ID