mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-12-02 21:37:33 +00:00
chore: Reformat with latest nightly
This commit is contained in:
113 files changed
+981
-831
No files matched your search
@@ -99,9 +99,9 @@ impl UserSession {
|
||||
if let Ok(duration) = now.duration_since(self.last_login) {
|
||||
duration < Self::RECENT_LOGIN_THRESHOLD
|
||||
} else {
|
||||
// Clock drift might cause the last login time to be later than the current
|
||||
// system time. We play it safe and say the session isn't recent if that
|
||||
// happens.
|
||||
// Clock drift might cause the last login time to be later than the
|
||||
// current system time. We play it safe and say the session isn't
|
||||
// recent if that happens.
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user