mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Only allow mysql auth type to add users (#10283)
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
@if(\LibreNMS\Authentication\LegacyAuth::get()->canManageUsers())
|
||||
@if(\LibreNMS\Config::get('auth_mechanism') == 'mysql')
|
||||
$('.actionBar').append('<div class="pull-left"><a href="users/create" type="button" class="btn btn-primary">@lang('Add User')</a></div>');
|
||||
@endif
|
||||
|
||||
|
Reference in New Issue
Block a user