author | Matthew Wild <mwild1@gmail.com> |
Thu, 07 Dec 2023 15:43:47 +0000 | |
changeset 5790 | 076b79eb747f |
parent 5789 | 671a6ad1f026 |
child 5791 | e79f9dec35c0 |
--- a/mod_http_admin_api/mod_http_admin_api.lua Thu Dec 07 15:43:16 2023 +0000 +++ b/mod_http_admin_api/mod_http_admin_api.lua Thu Dec 07 15:43:47 2023 +0000 @@ -477,6 +477,9 @@ end function update_user(event, username) + if not username then + return 400; + end local request = event.request; if request.headers.content_type ~= json_content_type