aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-09-29 11:18:04 +0200
committerKim Alvefur <zash@zash.se>2014-09-29 11:18:04 +0200
commitb9dbb1fb361c253776210678f34d7d19a7920da0 (patch)
treef0c0e04fd44432f0ef526a858b5be30770892025
parent08cd74ece8926fc1596c7c40fc626d643663eea7 (diff)
downloadprosody-b9dbb1fb361c253776210678f34d7d19a7920da0.tar.gz
prosody-b9dbb1fb361c253776210678f34d7d19a7920da0.zip
mod_admin_adhoc: Add required to field in user deletion form too
-rw-r--r--plugins/mod_admin_adhoc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua
index 704b2685..232fa5f7 100644
--- a/plugins/mod_admin_adhoc.lua
+++ b/plugins/mod_admin_adhoc.lua
@@ -118,7 +118,7 @@ local delete_user_layout = dataforms_new{
instructions = "Fill out this form to delete a user.";
{ name = "FORM_TYPE", type = "hidden", value = "http://jabber.org/protocol/admin" };
- { name = "accountjids", type = "jid-multi", label = "The Jabber ID(s) to delete" };
+ { name = "accountjids", type = "jid-multi", required = true, label = "The Jabber ID(s) to delete" };
};
local delete_user_command_handler = adhoc_simple(delete_user_layout, function(fields, err)