Skip to content

How to customize password strength rules? #7182

Answered by LSNicholls
ronnylam1210 asked this question in Help
Discussion options

You must be logged in to vote

How should I modify or create a new setting file to achieve customized rules?

you don't have to create a new file. You just need to put a Membership section into appsettings.json, as I said. Right? for example:

,
  "Membership": {
    "MinPasswordLength": 20
  }

... use the MembershipSettings.cs file to understand what you can put in that section.

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ronnylam1210
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants