Implement password handling for unattended access
build / build-linux-amd64 (push) Successful in 2m0s

This commit is contained in:
2026-05-08 09:32:13 +02:00
parent c1eaac1cb3
commit 9d53999eea
10 changed files with 260 additions and 30 deletions
+5
View File
@@ -23,6 +23,7 @@ pub mod state;
pub mod strategy;
pub mod sysinfo;
pub mod twofa;
pub mod unattended;
pub mod users;
pub use state::AppState;
@@ -47,6 +48,10 @@ pub fn router(state: Arc<AppState>) -> Router {
.route("/api/heartbeat", post(heartbeat::heartbeat))
.route("/api/sysinfo_ver", post(sysinfo::sysinfo_ver))
.route("/api/sysinfo", post(sysinfo::sysinfo))
.route(
"/api/unattended-password",
post(unattended::unattended_password),
)
// M2: address book — modern (shared + personal)
.route("/api/ab/settings", post(ab::settings::settings))
.route("/api/ab/personal", post(ab::profiles::personal))