Software /
code /
prosody
Changeset
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 (2014-09-29) |
parents | 6461:6b38bfaafe0c |
children | 6463:460584257cc9 |
files | plugins/mod_admin_adhoc.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)