feat: more flexible config values (#299)

This commit is contained in:
sigoden
2023-11-27 04:24:25 +08:00
committed by GitHub
parent 7584fe3d08
commit 6ff8b29b69
6 changed files with 226 additions and 26 deletions

View File

@@ -25,7 +25,7 @@ lazy_static! {
};
}
#[derive(Debug)]
#[derive(Debug, Clone, PartialEq)]
pub struct AccessControl {
use_hashed_password: bool,
users: IndexMap<String, (String, AccessPaths)>,