diff options
author | Kim Alvefur <zash@zash.se> | 2014-10-05 15:37:21 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-10-05 15:37:21 +0200 |
commit | 3ae8a2ed6ef23c1e7cea54a93b05c624a321cf08 (patch) | |
tree | 4cd5bea0a5677816d73ac9557133d04d794e5acd /plugins | |
parent | 18a60e070856fdbeb862b600fc16f6a60de0fd40 (diff) | |
parent | 859dd738fbbe1c5f2b2ffa1c9ec2e7c3e1cea3be (diff) | |
download | prosody-3ae8a2ed6ef23c1e7cea54a93b05c624a321cf08.tar.gz prosody-3ae8a2ed6ef23c1e7cea54a93b05c624a321cf08.zip |
Merge 0.9->0.10
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_adhoc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua index 1910f9fa..405980c2 100644 --- a/plugins/mod_admin_adhoc.lua +++ b/plugins/mod_admin_adhoc.lua @@ -119,7 +119,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) @@ -163,7 +163,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) |