mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-09 04:56:41 +02:00
fix: fix bug where disabled allowlist would still act as if there was an allow list
This commit is contained in:
parent
7562925aeb
commit
f1d725c842
1 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,8 @@ impl Service {
|
|||
error!("database failed with {}",error);
|
||||
false
|
||||
}
|
||||
Ok(None) => false,
|
||||
Ok(None) if allow_list_enabled => false,
|
||||
Ok(None) => true,
|
||||
Ok(Some(data::AclMode::Block)) => false,
|
||||
Ok(Some(data::AclMode::Allow)) if allow_list_enabled => true,
|
||||
Ok(Some(data::AclMode::Allow)) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue