projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e02bf8
)
mod_admin_adhoc: Add required to field in user deletion form too
author
Kim Alvefur
<zash@zash.se>
Mon, 29 Sep 2014 09:18:04 +0000
(11:18 +0200)
committer
Kim Alvefur
<zash@zash.se>
Mon, 29 Sep 2014 09:18:04 +0000
(11:18 +0200)
plugins/mod_admin_adhoc.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_admin_adhoc.lua
b/plugins/mod_admin_adhoc.lua
index 704b26856064b5c9d4feb69422bcbaa88cc7cdbb..232fa5f777525980fe20f5b29a9f692e92e30162 100644
(file)
--- a/
plugins/mod_admin_adhoc.lua
+++ b/
plugins/mod_admin_adhoc.lua
@@
-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)