mod_admin_adhoc: Add required to field in user deletion form too
authorKim Alvefur <zash@zash.se>
Mon, 29 Sep 2014 11:18:04 +0200
changeset 6465 fcff8fa495d4
parent 6464 6b38bfaafe0c
child 6466 460584257cc9
mod_admin_adhoc: Add required to field in user deletion form too
plugins/mod_admin_adhoc.lua
--- a/plugins/mod_admin_adhoc.lua	Mon Sep 29 11:02:06 2014 +0200
+++ b/plugins/mod_admin_adhoc.lua	Mon Sep 29 11:18:04 2014 +0200
@@ -118,7 +118,7 @@
 	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)