MembershipUser class CreateUser password paramter

Posted by d3020 on Stack Overflow See other posts from Stack Overflow or by d3020
Published on 2010-05-25T19:24:53Z Indexed on 2010/05/25 19:51 UTC
Read the original article Hit count: 328

I'm using the ASP.NET Configuration for my users and their roles. I'm also using the MembershipUser class with its function CreateUser. I have it working, but was curious about something.

When I add a new user and pass this function its password parameter (which in this case is coming from a textbox on the page). It seems like it only finds and accepts that textbox value when it is 6 chars or more. For example, if I type in ab123 it'll say object not set to instance of an object. However if I do abc123 it works fine. Where is that being told to do that. I didn't know if this was something I could change or where it might be doing that.

Thanks.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about password