在CreateUserWizard中更改密码限制 [英] Changing password restriction in CreateUserWizard

查看:47
本文介绍了在CreateUserWizard中更改密码限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过Internet研究了CreateUserWizard中的更改密码限制.几乎所有给出的答案对我来说都是将代码添加到"Web.Config"文件中.但是,这种方法不适用于我的情况.

添加后:
minRequiredNonAlphanumericCharacters="0" minRequiredPasswordLength="3"

下面有蓝色的卷曲线,表明不允许使用此属性. -在任何地方我都可以添加更改pw限制的web.config文件之外的内容或编辑web.config文件的地方吗?

这是我的web.config文件:

I had research on the change password restriction in CreateUserWizard through the internet. And almost all of the answers given is for me to add the codes into the "Web.Config" file. However, this method won''t works for my case.

Upon adding :
minRequiredNonAlphanumericCharacters="0" minRequiredPasswordLength="3"

there are blue curly lines below, stating that this attribute is not allowed. -- Is there anywhere i can add change the pw restriction apart on the web.config file or edit the web.config file???

This is my web.config file:

<?xml version="1.0"?>

<configuration>
<connectionStrings>
<add name="ASPNETDBConnectionString1" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"  providerName="System.Data.SqlClient"/>
</connectionStrings>

<system.web>
<authentication mode="Forms" />
<compilation debug="true" targetFramework="4.0"/>
</system.web>
</configuration>

推荐答案

我认为只有添加了会员功能,您才能使用上面的东西……


ASP.NET成员资格和角色提供者 [
I think you can use the above thing only if you added membership function......


ASP.NET Membership and Role Provider[^]


这篇关于在CreateUserWizard中更改密码限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆