Fixed the Misc preferences page (#10036)

This commit is contained in:
Manuel Ceroni 2026-02-09 10:53:57 +01:00 committed by GitHub
parent a85212724c
commit d34da57856
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 9 deletions

View file

@ -757,14 +757,14 @@ if auth.has_capability(auth.capabilities.preferences) then
})
--print('<thead class="table-primary"><tr><th colspan=2 class="info">' .. i18n("prefs.domain_classification") .. '</th></tr></thead>')
prefsInputFieldPrefs(subpage_active.entries["domain_classification_user_id"].title,
subpage_active.entries["domain_classification_user_id"].description, "ntopng.prefs.", "classification_user_id", "",
false, false, nil, nil, {
attributes = {
spellcheck = "false"
},
required = false,
})
--prefsInputFieldPrefs(subpage_active.entries["domain_classification_user_id"].title,
-- subpage_active.entries["domain_classification_user_id"].description, "ntopng.prefs.", "classification_user_id", "",
-- false, false, nil, nil, {
-- attributes = {
-- spellcheck = "false"
-- },
-- required = false,
-- })
-- second false is to not show pref
prefsInputFieldPrefs(subpage_active.entries["domain_classification_token"].title,