Implements MFA (Multi Factor Authentication)

This commit is contained in:
Luca Deri 2026-03-13 09:06:43 +01:00
parent 4bb3491f45
commit 086963cf06
14 changed files with 859 additions and 8 deletions

View file

@ -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