PreRegistrationHandler not failing on Task error code
|Added at||2016-12-28 16:12|
I am trying to implement validation on a custom data attribute through the
However, when it does not, it creates the account anyway. When validation does not pass, I return a Task result code of one which should make it fail.
Is there an undocumented return code that I should be using? I've checked here: https://docs.stormpath.com/dotnet/aspnet/latest/registration.html#pre-registration-handler