feat(daemon): wire TotpStore into AppState behind feature gate

This commit is contained in:
michael
2026-04-27 11:27:32 -07:00
parent c56ed0c9a1
commit 5fa81e5757
3 changed files with 62 additions and 0 deletions

View File

@@ -257,6 +257,8 @@ central_path = "{}"
policy_dir,
pending_dir: tmp.path().join("pending"),
recovery_dir: tmp.path().join("recovery"),
#[cfg(feature = "totp")]
totp_dir: tmp.path().join("totp"),
userdb_path: tmp.path().join("users.db"),
pam_profile_path: tmp.path().join("authforge-pamconf"),
pam_auth_update: shim,