# HG changeset patch # User Kim Alvefur # Date 1411981326 -7200 # Node ID 6b38bfaafe0c5f9c2fe9f6af28e42411533693b4 # Parent e3de64f7c44d9a4ca0f9a4cd399fdfc12977dae8 mod_admin_adhoc: Mark 'accountjids' field as required in 'end user sessions' command (thanks Lloyd) diff -r e3de64f7c44d -r 6b38bfaafe0c plugins/mod_admin_adhoc.lua --- a/plugins/mod_admin_adhoc.lua Tue Sep 09 14:42:10 2014 +0200 +++ b/plugins/mod_admin_adhoc.lua Mon Sep 29 11:02:06 2014 +0200 @@ -162,7 +162,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)