Hello,
I try some scenarios to test the "/user/register
" API, and can't get to save the password!
In the DF configuration have: Allow Open Registration = true
.
Then, using the swagger included in DF I try to register a user with password, have this:
body:
{
"email": "dev9a@mailinator.com",
"first_name": "dev9a",
"last_name": "test",
"display_name": "Dev9a Name",
"new_password": "soudev9a",
"code": "onlytotest"
}
login: true
The cUrl:http://my.domain.com/api/v2/user/register?login=true
Response:
{
"success": true,
"confirmation_required": true
}
In the database the password is not set, receive an email with the Url to set the password and confirm the account!
Ok, now try the same but with changing the "login: false" and get:
The cUrl:http://my.domain.com/api/v2/user/register?login=false
Response:
{
"success": true
}
Same result without the "code" in the body!
No way to set the user password using the API.
Can you confirm if it is a Bug or other issue?
Regards,
LB