On Thu, 2018-07-12 at 13:53 +0530, Hasini Witharana wrote:
> Hi all,
> 
> I tried the below curl command to create a user.
> 
> curl -F:name=myuser -Fpwd=password -FpwdConfirm=password
> -Fanyproperty1=value1 \
>     http://localhost:8080/system/userManager/user.create.html
> 
> I got an error saying "javax.jcr.RepositoryException: Sorry,
> registration
> of new users is not currently enabled.  Please try again later". How
> can I
> enable registering new users?

Have you tried setting credentials to admin/admin? E.g.

  $ curl --user admin:admin ....

Robert

Reply via email to