summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-06-23 19:41:24 -0400
committerOwen Jacobson <owen@grimoire.ca>2025-06-23 19:41:24 -0400
commitae38a73c58cb268e36b4209846b3cd37de73ecb8 (patch)
tree7bbdc23a20cb98b23b9a58618a0be2e44c9949ba /src
parent5b531a270cd9a1162a87da0d2a6e6aa15f90ef6a (diff)
Remove a stray reference to users being called "logins."
Missed in 9f7f82dbd9adee8ae18ae7ff2600b3e1dc8fadbc.
Diffstat (limited to 'src')
-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,