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 | e4a6b7e39a2f9159ebd9da49771a40ff10474866 (patch) | |
tree | 4cd5bea0a5677816d73ac9557133d04d794e5acd /plugins/mod_admin_adhoc.lua | |
parent | edbbf7e07efd86e599340dbeccf2dba6b743c332 (diff) | |
parent | 2b53ced362a8cc9253d82cd4578cdecdd7cd9521 (diff) | |
download | prosody-e4a6b7e39a2f9159ebd9da49771a40ff10474866.tar.gz prosody-e4a6b7e39a2f9159ebd9da49771a40ff10474866.zip |
Merge 0.9->0.10
Diffstat (limited to 'plugins/mod_admin_adhoc.lua')
-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) |