From eea0d4d3591899125362f6cfee4c6e1609e9074f Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Fri, 31 May 2019 00:57:36 -0500 Subject: [PATCH] Only allow mysql auth type to add users (#10283) --- resources/views/user/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/user/index.blade.php b/resources/views/user/index.blade.php index ff960aa73c..ae8cb2fa29 100644 --- a/resources/views/user/index.blade.php +++ b/resources/views/user/index.blade.php @@ -88,7 +88,7 @@ } }); - @if(\LibreNMS\Authentication\LegacyAuth::get()->canManageUsers()) + @if(\LibreNMS\Config::get('auth_mechanism') == 'mysql') $('.actionBar').append('
@lang('Add User')
'); @endif