Implement password handling for unattended access
build / build-linux-amd64 (push) Successful in 2m0s
build / build-linux-amd64 (push) Successful in 2m0s
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user