1
Vote

WebSecurity.Register fails - No password question/answer provided

description

I'm trying to use the WebSecurity.Register() method, which looks to be a pass-through to the underlying membership provider. The issue is that the registration of the user fails with a MembershipCreateStatus.InvalidAnswer as the return value. From the looks of things, codefirst is just passing null for both the question and answer to the membership inside this method, with no way to pass in the question and answer as parameters to fill it in. Am I just using it wrong (totally possible), should these parameters be added to the top, or is there something else I'm overlooking? Either way, it seems to be an issue. I'm using the latest (Jan 12 ish) NuGet package.

comments