pub async fn delete_session(
pool: &SqlitePool,
session_id: &[u8],
) -> Result<(), Error>Expand description
Delete a session row by the raw 32-byte id from the cookie. Used on logout. Hashes internally so callers continue to pass cookie bytes.
ยงErrors
Returns Error::Database on delete failure.