mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Hide user authentication if login is disabled
This commit is contained in:
parent
b8f4ead32f
commit
cb514ef9e1
2 changed files with 2 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ local hasRadius = ntop.hasRadiusSupport()
|
|||
|
||||
-- This table is used both to control access to the preferences and to filter preferences results
|
||||
local menu_subpages = {
|
||||
{id="auth", label=i18n("prefs.user_authentication"), advanced=false, pro_only=true, nedge_hidden=true, hidden=false, entries={
|
||||
{id="auth", label=i18n("prefs.user_authentication"), advanced=false, pro_only=true, nedge_hidden=true, hidden=not(prefs.is_users_login_enabled), entries={
|
||||
toggle_ldap_auth = {
|
||||
title = i18n("prefs.toggle_ldap_auth"),
|
||||
description = i18n("prefs.toggle_ldap_auth_descr"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue