]> granicus.if.org Git - ejabberd/commitdiff
We do not force yet access rules check on register command
authorMickael Remond <mremond@process-one.net>
Sun, 7 Aug 2016 16:27:16 +0000 (18:27 +0200)
committerMickael Remond <mremond@process-one.net>
Sun, 7 Aug 2016 16:27:16 +0000 (18:27 +0200)
src/ejabberd_admin.erl

index 615459f77cf2fd7e9791bcc7b0b5229199c105cb..ae2fac3e1016446236a546ef67b3da9e9f616a80 100644 (file)
@@ -131,7 +131,6 @@ get_commands_spec() ->
      #ejabberd_commands{name = register, tags = [accounts],
                        desc = "Register a user",
                        policy = admin,
-      access = [{mod_register, access, configure}],
                        module = ?MODULE, function = register,
                        args = [{user, binary}, {host, binary}, {password, binary}],
                        result = {res, restuple}},