Doc update.

This commit is contained in:
2026-10-18 20:55:45 +02:00
parent e9093d131a
commit a967b388b7
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -106,9 +106,9 @@ where
.await .await
.map_err(DatabaseError::from)?; .map_err(DatabaseError::from)?;
// Nothing is written when the access token already exists, but it's new user ID and user app ID // Nothing is written when the new user ID and user app ID are different on the existing row, or
// are different, or the secret hash has not changed: the update path is intended for secret // the secret hash has not changed: the update path is intended for secret rotation, i.e.,
// rotation, i.e., updating the secret hash while keeping the same user ID and user app ID. // updating the secret hash while keeping the same user ID and user app ID.
let Some(row) = row else { let Some(row) = row else {
return Ok(None); return Ok(None);
}; };
+3 -3
View File
@@ -70,9 +70,9 @@ where
.await .await
.map_err(DatabaseError::from)?; .map_err(DatabaseError::from)?;
// Nothing is written when the refresh token already exists, but it's new access token ID // Nothing is written when the new access token ID is different on the existing row, or the
// is different, or the secret hash has not changed: the update path is intended for secret // secret hash has not changed: the update path is intended for secret rotation, i.e., updating
// rotation, i.e., updating the secret hash while keeping the same access token ID. // the secret hash while keeping the same access token ID.
let Some(row) = row else { let Some(row) = row else {
return Ok(None); return Ok(None);
}; };