diff --git a/app/devices/app_config.php b/app/devices/app_config.php index 0dfb63bce6..d752e92f10 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -127,7 +127,7 @@ $apps[$x]['permissions'][$y]['groups'][] = 'superadmin'; $apps[$x]['permissions'][$y]['groups'][] = 'admin'; $y++; - $apps[$x]['permissions'][$y]['name'] = 'device_username'; + $apps[$x]['permissions'][$y]['name'] = 'device_user'; $apps[$x]['permissions'][$y]['groups'][] = 'superadmin'; $apps[$x]['permissions'][$y]['groups'][] = 'admin'; $y++; diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index f9c081d4a8..c37563b230 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -1346,7 +1346,7 @@ require_once "resources/require.php"; echo " \n"; } - if (permission_exists('device_username')) { + if (permission_exists('device_user')) { echo "