new setting to select default value of 'allow api access' for new customers; fixes #1087
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -87,7 +87,7 @@ return [
|
||||
'desc' => lng('usersettings.api_allowed.description'),
|
||||
'type' => 'checkbox',
|
||||
'value' => '1',
|
||||
'checked' => Settings::Get('api.enabled') == '1',
|
||||
'checked' => Settings::Get('api.enabled') == '1' && Settings::Get('api.customer_default'),
|
||||
'visible' => Settings::Get('api.enabled') == '1'
|
||||
]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user