mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 09:50:09 +00:00
Implements MFA (Multi Factor Authentication)
This commit is contained in:
parent
4bb3491f45
commit
086963cf06
14 changed files with 859 additions and 8 deletions
|
|
@ -56,6 +56,7 @@ if(isAdministratorOrPrintErr()) then
|
|||
rc["password"] = value["password"]
|
||||
rc["full_name"] = value["full_name"]
|
||||
rc["group"] = value["group"]
|
||||
rc["totp_enabled"] = ntop.isTOTPEnabled(key) and true or false
|
||||
|
||||
print(json.encode(rc))
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue