Software /
code /
prosody
Diff
plugins/mod_admin_adhoc.lua @ 6464:737c81bd898e
Merge 0.9->0.10
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 05 Oct 2014 15:37:21 +0200 |
parent | 6458:f906b803dc42 |
parent | 6462:fcff8fa495d4 |
child | 6627:c6e025411baa |
line wrap: on
line diff
--- 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)