Mercurial > prosody-modules
changeset 5343:5c1c70e52635
mod_client_management: Fix import of util.error (not errors)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 13 Apr 2023 09:11:28 +0200 |
parents | e28ba69b5307 |
children | 0a6d2b79a8bf |
files | mod_client_management/mod_client_management.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_client_management/mod_client_management.lua Wed Apr 12 11:24:50 2023 +0200 +++ b/mod_client_management/mod_client_management.lua Thu Apr 13 09:11:28 2023 +0200 @@ -372,7 +372,7 @@ return true; end); -local revocation_errors = require "util.errors".init(module.name, xmlns_manage_clients, { +local revocation_errors = require "util.error".init(module.name, xmlns_manage_clients, { ["item-not-found"] = { "cancel", "item-not-found", "Client not found" }; ["internal-server-error"] = { "wait", "internal-server-error", "Unable to revoke client access" }; ["password-reset-required"] = { "cancel", "service-unavailable", "Password reset required", "password-reset-required" };