I am implementing open registration. Now the user gets the code.
Want to use my own ConfirmationForm.
I posted to… /api/v2/user/register?login=false
{
“email”: "name@provider.com",
“new_password”: “Password”,
“code”: “codefromMail”
}
Response
{
"error": {
"context": {
"email": [
"The email has already been taken."
]
},
"message": "Validation failed",
"code": 400
}
}
Yes I found this Wiki Entry allready, as far as that Information goes, everything works fine.
But now I have my Code and don’t know what to do with it.
I also read several old Community Post, but they didn’t work.
I just intended to link the post I read earlier, didn’t find them, but found this:
no doesn’t work. Bad Request. No wonder since the model looks like this:
Register {
email (string): Email address of the new user. ,
first_name (string, optional): First name of the new user. ,
last_name (string, optional): Last name of the new user. ,
display_name (string, optional): Full display name of the new user. ,
new_password (string, optional): Password for the new user. ,
code (string, optional): Code required with new_password when using email confirmation.
}