aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_adhoc.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-09-29 11:02:06 +0200
committerKim Alvefur <zash@zash.se>2014-09-29 11:02:06 +0200
commit08cd74ece8926fc1596c7c40fc626d643663eea7 (patch)
tree1ac89c618cccf56cb8c747d19e16248c35b53211 /plugins/mod_admin_adhoc.lua
parentd47a864352b942da6dd307e30e54cb40c333c2e1 (diff)
downloadprosody-08cd74ece8926fc1596c7c40fc626d643663eea7.tar.gz
prosody-08cd74ece8926fc1596c7c40fc626d643663eea7.zip
mod_admin_adhoc: Mark 'accountjids' field as required in 'end user sessions' command (thanks Lloyd)
Diffstat (limited to 'plugins/mod_admin_adhoc.lua')
-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 2c6047da..704b2685 100644
--- a/plugins/mod_admin_adhoc.lua
+++ b/plugins/mod_admin_adhoc.lua
@@ -162,7 +162,7 @@ local end_user_session_layout = dataforms_new{
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)