mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_admin_adhoc: Add required to field in user deletion form too
This commit is contained in:
parent
fc40eedab4
commit
74cbb01e3a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue