We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dad407 commit e80b183Copy full SHA for e80b183
1 file changed
crates/defguard_common/src/db/models/settings.rs
@@ -523,7 +523,7 @@ impl Settings {
523
524
#[must_use]
525
pub fn authentication_timeout(&self) -> Duration {
526
- Duration::from_secs(self.authentication_period_days as u64 * 24 * 3600)
+ Duration::from_hours(self.authentication_period_days as u64 * 24)
527
}
528
529
pub fn proxy_public_url(&self) -> Result<Url, url::ParseError> {
0 commit comments