How to set a weaker password enforcement

R

Ron

I am using the createuseraccount control in my asp.net 2.0 app (with
visual webdevelopment express). For my needs the enforced password
strenght is to strong; I want to allow users to be able to create
passwords with only text. I found that the MembershipProvider password
related properties are ReadOnly so I can't find a way to override the
default membershipprovider password regular expression.
What should I do to enable weaker passwords?

Ronald van Aalten
 
D

Dominick Baier [DevelopMentor]

Hello ron,

the regular expression is not set by default - there are other settings like
min length, min non-alpha numeric characters etc..

to modify the settings copy the <membership> element from machine.config
to your local web.config - if you don't change the provider name - add a
<clear /> element as the first child of the <providers> element.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,824
Members
47,371
Latest member
Brkaa

Latest Threads

Top