dotnet / dotnet/aspnetcore

UserManager.CreateAsync(user, password) doesn't return all errors if password is invalid

Open
#5,804 1 comment 0 reactions 0 assignees View on GitHub
affected-few area-identity enhancement severity-nice-to-have
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

Talking about https://github.com/aspnet/Identity/blame/master/src/Core/UserManager.cs#L597
Could instead of returning on `!succeeded` store them, run CreateAsync and merge them with those errors.
This is blocking a nice api where you get all errors of a registration in one go.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.