summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/token/repo/token.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/token/repo/token.rs b/src/token/repo/token.rs
index e49c2d4..cbc50ab 100644
--- a/src/token/repo/token.rs
+++ b/src/token/repo/token.rs
@@ -23,8 +23,8 @@ impl Provider for Transaction<'_, Sqlite> {
pub struct Tokens<'t>(&'t mut SqliteConnection);
impl Tokens<'_> {
- // Issue a new token for an existing login. The issued_at timestamp will
- // be used to control expiry, until the token is actually used.
+ // Issue a new token for an existing user. The issued_at timestamp will
+ // determine the token's initial expiry deadline.
pub async fn issue(
&mut self,
user: &History,