Diff

mod_client_management/mod_client_management.lua @ 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
parent 5312:22e6b9f09439
child 5369:1a58a11407ac
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" };