Merge branch 'main' of github.com:cerebrate-project/cerebrate

pull/107/merge
iglocska 2024-11-28 21:32:00 +01:00
commit 55695fc09b
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
2 changed files with 2 additions and 2 deletions

View File

@ -367,7 +367,7 @@ class CerebrateSettingsProvider extends BaseSettingsProvider
true => __('Debug On'),
],
'test' => function ($value, $setting, $validator) {
$validator->range('value', [0, 2]);
$validator->range('value', [0, 1]);
return testValidator($value, $validator);
},
],

View File

@ -13,7 +13,7 @@
'label' => 'Site admin privilege (instance management)'
],
[
'field' => 'perm_community',
'field' => 'perm_community_admin',
'type' => 'checkbox',
'label' => 'Community admin privilege (data admin)'
],