registration procedure error
See original GitHub issueHi, thank you for your wonderful work, that I’m testing to use it in my azure app. I think there is a bug in the registration procedure, in particular: when I register a new user with an email that already exist, I get this error
Object reference not set to an instance of an object GetUserIdAsync
stack:
System.NullReferenceException: Object reference not set to an instance of an object.
at ElCamino.AspNetCore.Identity.AzureTable.UserStore7.GetUserIdAsync(TUser user, CancellationToken cancellationToken) at Microsoft.AspNetCore.Identity.UserManager
1.<GetUserIdAsync>d__78.MoveNext()
…
…samplemvccore\Controllers\AccountController.cs:line 109
(call from: var result = await _userManager.CreateAsync(user, model.Password)😉
with default Identity Provider normally I go back to the registration form with the reporting of the error in the field --> User name ‘email’ is already taken.
thank you
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
it works! thank you
Fixed with release 1.6 the above workaround should no longer be used. Thanks for reporting the issue!