HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Can I or how can i set a stronger password requirement?
ligyxy
New
I would like to have a stronger password requirement, like containing at least one character or something.
I am not quite positive that there's this functionality in Vanilla, but is it feasible with a plugin?
Tagged:
0
Comments
yes feasible with plugin. I thought the js password strength already does that but you could add more validation.
you could add some js to check for one character
similar to https://github.com/vanilla/vanilla/blob/18498916ac071fd2f9778183c3972764b022154c/applications/dashboard/js/password.js
and you could add a validation rule for server and function to the password field
https://github.com/vanilla/vanilla/blob/dce5512658f8093239d13bb798a3718279d3b99b/library/core/functions.validation.php
http://docs.vanillaforums.com/developer/framework/models/
you can also set min password length with a config.
Garden.Registration.MinPasswordLength
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.
also a config setting for points that affects passwordstrength
Garden.Password.MinScore
default is 2
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.