配置SqlMembershipProvider无需密码

发布于 2024-08-04 09:20:42 字数 68 浏览 3 评论 0原文

我需要对新用户使用没有密码的 SqlMembershipProvider。 我怎样才能做到这一点?

谢谢!

I need to use the SqlMembershipProvider without password to new users.
How can I do that?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦幻之岛 2024-08-11 09:20:42

对于 SqlMembership 提供程序,需要密码(这是一件好事)。如果您确实希望用户没有密码(我很想知道什么情况需要这样做),那么您将必须使用自定义会员资格提供程序和自定义登录控件,因为它们也都强制使用密码。

With the SqlMembership provider passwords are required (and this is a good thing). If you really want to have users who don't have passwords (and I'd love to know what scenario needs this) then you will have to use a custom membership provider, and custom login controls, as they all enforce passwords as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文