# HG changeset patch # User Matthew Wild # Date 1759338985 -3600 # Node ID 6a3b38051d745cfcfe22eeb84974205130e4af74 # Parent 4e63151010bf4f6e0a9defaf5d9f987118021162 mod_http_admin_api: get_user_info: Fix missing error return diff -r 4e63151010bf -r 6a3b38051d74 mod_http_admin_api/mod_http_admin_api.lua --- a/mod_http_admin_api/mod_http_admin_api.lua Wed Oct 01 12:00:09 2025 +0100 +++ b/mod_http_admin_api/mod_http_admin_api.lua Wed Oct 01 18:16:25 2025 +0100 @@ -224,7 +224,7 @@ local function get_user_info(username) if not usermanager.user_exists(username, module.host) then - return nil; + return nil, "user-not-found"; end local display_name; do