Software /
code /
prosody
Diff
plugins/mod_admin_adhoc.lua @ 6462:fcff8fa495d4
mod_admin_adhoc: Add required to field in user deletion form too
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 29 Sep 2014 11:18:04 +0200 |
parent | 6461:6b38bfaafe0c |
child | 6464:737c81bd898e |
line wrap: on
line diff
--- a/plugins/mod_admin_adhoc.lua Mon Sep 29 11:02:06 2014 +0200 +++ b/plugins/mod_admin_adhoc.lua Mon Sep 29 11:18:04 2014 +0200 @@ -118,7 +118,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)