Commit fd81e846 authored by guus's avatar guus

- fixes stage information (JM-1491);

- no longer requires non-readonly userprovider (JM-1490);

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10874 b35dd754-fafc-0310-a699-88a17e54d16e
parent 75dfd998
......@@ -50,12 +50,6 @@ public class AuthenticateUser extends AdHocCommand {
public void execute(SessionData data, Element command) {
Element note = command.addElement("note");
// Check if groups cannot be modified (backend is read-only)
if (UserManager.getUserProvider().isReadOnly()) {
note.addAttribute("type", "error");
note.setText("Users are read only. Changing password is not allowed.");
return;
}
JID account;
try {
account = new JID(data.getData().get("accountjid").get(0));
......@@ -120,7 +114,7 @@ public class AuthenticateUser extends AdHocCommand {
field = form.addField();
field.setType(FormField.Type.text_single);
field.setLabel("The username for this account");
field.setVariable("username");
field.setVariable("accountjid");
field.setRequired(true);
field = form.addField();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment