Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register error #29

Open
naji-makhoul opened this issue Jan 24, 2021 · 0 comments
Open

register error #29

naji-makhoul opened this issue Jan 24, 2021 · 0 comments

Comments

@naji-makhoul
Copy link

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

  1. Passwords must have at least one non alphanumeric character.
  2. Passwords must have at least one digit ('0'-'9').
  3. Passwords must have at least one uppercase ('A'-'Z').
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant