plugins/mod_admin_adhoc.lua
changeset 6467 737c81bd898e
parent 6461 f906b803dc42
parent 6465 fcff8fa495d4
child 6630 c6e025411baa
--- a/plugins/mod_admin_adhoc.lua	Sun Oct 05 15:36:19 2014 +0200
+++ b/plugins/mod_admin_adhoc.lua	Sun Oct 05 15:37:21 2014 +0200
@@ -119,7 +119,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)
@@ -163,7 +163,7 @@
 	instructions = "Fill out this form to end a user's session.";
 
 	{ name = "FORM_TYPE", type = "hidden", value = "http://jabber.org/protocol/admin" };
-	{ name = "accountjids", type = "jid-multi", label = "The Jabber ID(s) for which to end sessions" };
+	{ name = "accountjids", type = "jid-multi", label = "The Jabber ID(s) for which to end sessions", required = true };
 };
 
 local end_user_session_handler = adhoc_simple(end_user_session_layout, function(fields, err)