register error
naji-makhoul opened this issue · 0 comments
naji-makhoul commented
when try to register new user get json error without IdentityError messages
{
"Succeeded": false,
**"Message": "System.Collections.Generic.List`1[Microsoft.AspNetCore.Identity.IdentityError]",**
"Errors": null,
"Data": null
}
for example., try to register new user with this json:
{
"firstName": "string",
"lastName": "string",
"email": "user@example.com",
"userName": "string",
"password": "string",
"confirmPassword": "string"
}
the Message
must return 3 errors from result.Errors
- Passwords must have at least one non alphanumeric character.
- Passwords must have at least one digit ('0'-'9').
- Passwords must have at least one uppercase ('A'-'Z').