mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes unnecessary escaping of passwords
Unescaping is already done in C. Fixes #2490
This commit is contained in:
parent
208838e812
commit
3b3e04528d
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ if(haveAdminPrivileges()) then
|
|||
local ret = false
|
||||
username = string.lower(username)
|
||||
|
||||
if(ntop.addUser(username, full_name, unescapeHTML(password), host_role, networks, getInterfaceName(allowed_interface), host_pool_id, language)) then
|
||||
if(ntop.addUser(username, full_name, password, host_role, networks, getInterfaceName(allowed_interface), host_pool_id, language)) then
|
||||
ret = true
|
||||
|
||||
if limited_lifetime and not ntop.addUserLifetime(username, lifetime_secs) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue