mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
AccessListMode: rename Allow to Require and Deny to Forbid
This commit is contained in:
parent
3a2e751668
commit
490c0b037d
5 changed files with 7 additions and 8 deletions
|
|
@ -25,7 +25,7 @@ pub fn run(config: Config) -> ::anyhow::Result<()> {
|
|||
let state = State::default();
|
||||
|
||||
match config.access_list.mode {
|
||||
AccessListMode::Allow | AccessListMode::Deny => {
|
||||
AccessListMode::Require | AccessListMode::Forbid => {
|
||||
state.access_list.lock().update_from_path(&config.access_list.path)?;
|
||||
},
|
||||
AccessListMode::Ignore => {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue