cofoundry-cms / cofoundry

Cofoundry is an extensible and flexible .NET Core CMS & application framework focusing on code first development
https://www.cofoundry.org
MIT License
836 stars 146 forks source link

UserLoginInfoAuthenticationResult: Replace Error enum with a `ValidationError` with standardized error codes #482

Closed HeyJoel closed 2 years ago

HeyJoel commented 2 years ago

Now that our standard ValidationError supports error codes (which are more front-end dev friendly), UserLoginInfoAuthenticationResult should make use of ValidationError instead of the current enum.

HeyJoel commented 2 years ago

Fixed, will be released in v0.10

This is a breaking change if you are relying on the UserLoginInfoAuthenticationError enum values, but this can easily be replaced with the codes defined in the UserValidationErrors.Authentication constants class.