chore: Clippy fixes

This commit is contained in:
Ginger committed 2026-04-28 09:16:56 -04:00
1 parent e185f56f3a
commit e70004c98f
53 files changed
+110 -118

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ pub struct ResetTokenInfo {
impl ResetTokenInfo {
// one hour
const MAX_TOKEN_AGE: Duration = Duration::from_secs(60 * 60);
const MAX_TOKEN_AGE: Duration = Duration::from_hours(1);
pub fn is_valid(&self) -> bool {
let now = SystemTime::now();