# HG changeset patch # User Kim Alvefur # Date 1411982284 -7200 # Node ID fcff8fa495d4655d0e13b78ae7bdc2fec5740f87 # Parent 6b38bfaafe0c5f9c2fe9f6af28e42411533693b4 mod_admin_adhoc: Add required to field in user deletion form too diff -r 6b38bfaafe0c -r fcff8fa495d4 plugins/mod_admin_adhoc.lua --- 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)