Password Policies
Permalink
Is there a way to establish password policies for users (i.e. min length, at least one number and one letter, etc)?
If not has anyone implemented this before? I could write the code, but I am not sure where to put it while maintaining upgrade compatibility.
To the best of my knowledge I need to enfore this in two locations:
1. The default lost password page
2. In the user change password page I created for our users (this one is easy as I control it)
Still, the best way would be to enforce policy in the back end.
Thanks in advance,
Jon
If not has anyone implemented this before? I could write the code, but I am not sure where to put it while maintaining upgrade compatibility.
To the best of my knowledge I need to enfore this in two locations:
1. The default lost password page
2. In the user change password page I created for our users (this one is easy as I control it)
Still, the best way would be to enforce policy in the back end.
Thanks in advance,
Jon
Thanks for the quick response. I was afraid of this. Does anyone know off hand where the logic for these settings is implemented? I hope it is not in the individual pages?
Jon
Jon
Did you ever get an answer to this question.
have the same problem
have the same problem
Hi
in witch file could i change this settings?
best regards paul
in witch file could i change this settings?
best regards paul
Add them into your /config/site.php
For example to make the URL to change your password valid for two days you would add:
For example to make the URL to change your password valid for two days you would add:
define('USER_CHANGE_PASSWORD_URL_LIFETIME', 172800);
you would most likely have to customize the register singlepage