api: move config/user to access/users, implement change_password

To make it similar to the pve api
This commit is contained in:
Dietmar Maurer
2020-04-09 10:19:38 +02:00
parent 7d817b0358
commit 685e13347e
6 changed files with 69 additions and 15 deletions

View File

@ -3,12 +3,10 @@ use proxmox::list_subdirs_api_method;
pub mod datastore;
pub mod remote;
pub mod user;
const SUBDIRS: SubdirMap = &[
("datastore", &datastore::ROUTER),
("remote", &remote::ROUTER),
("user", &user::ROUTER),
];
pub const ROUTER: Router = Router::new()