mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Force username login always being lowercase
This commit is contained in:
parent
d3debf04ef
commit
ac07c48b7c
7 changed files with 33 additions and 12 deletions
|
|
@ -31,6 +31,7 @@ if(haveAdminPrivileges()) then
|
|||
end
|
||||
|
||||
local ret = false
|
||||
username = string.lower(username)
|
||||
|
||||
if(ntop.addUser(username, full_name, unescapeHTML(password), host_role, networks, getInterfaceName(allowed_interface), host_pool_id)) then
|
||||
ret = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue