diff options
author | Kim Alvefur <zash@zash.se> | 2014-09-29 11:18:04 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-09-29 11:18:04 +0200 |
commit | 0ccb1f50b0a19d478470156eec62f2fa1767ed0d (patch) | |
tree | f0c0e04fd44432f0ef526a858b5be30770892025 /plugins/mod_admin_adhoc.lua | |
parent | 82b33b4906f7219dc19e2895ff5d1a30a68207bc (diff) | |
download | prosody-0ccb1f50b0a19d478470156eec62f2fa1767ed0d.tar.gz prosody-0ccb1f50b0a19d478470156eec62f2fa1767ed0d.zip |
mod_admin_adhoc: Add required to field in user deletion form too
Diffstat (limited to 'plugins/mod_admin_adhoc.lua')
-rw-r--r-- | plugins/mod_admin_adhoc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua index 704b2685..232fa5f7 100644 --- a/plugins/mod_admin_adhoc.lua +++ b/plugins/mod_admin_adhoc.lua @@ -118,7 +118,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) |