dsamojlenko / turnkey-wetkit-drupal

A Turnkey Linux appliance for the Wetkit Drupal distribution
1 stars 1 forks source link

Wetkit Password Validation #9

Open dsamojlenko opened 10 years ago

dsamojlenko commented 10 years ago

Haven't figured out how to do password validation beyond password matching in the install profile. If a user enters a password that is not compliant with the wetkit password policy on first boot, they will not be able to login to drupal.

As a workaround for now, if you find yourself unable to login to drupal after first boot, you can try resetting the admin password with drush:

drush user-password admin --password=NEW_COMPLIANT_PASS

Just make sure the new password is compliant with the wetkit password policy.

dsamojlenko commented 10 years ago

working on a pull request to the main inithooks repo

dsamojlenko commented 10 years ago

https://github.com/turnkeylinux/inithooks/pull/1

pull request submitted - this will allow an optional regex to be passed into get_password to validate password complexity. The following regex should be used:

^(?=(.*\d){2})(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z\d]).{8,}$
lirazsiri commented 10 years ago

Great. Haven't seen that yet. Let me know if it looks like I'm missing it.

On 02/07/14 22:51, Dave Samojlenko wrote:

working on a pull request to the main inithooks repo


Reply to this email directly or view it on GitHub: https://github.com/dsamojlenko/turnkey-wetkit-drupal/issues/9#issuecomment-47826788

lirazsiri commented 10 years ago

There it is. Strange that I didn't se a notification for this from the inithooks tracker. I'll need to look into that.

On 03/07/14 21:22, Dave Samojlenko wrote:

https://github.com/turnkeylinux/inithooks/pull/1

pull request submitted - this will allow an optional regex to be passed into get_password to validate password complexity. The following regex should be used:

^(?=(.*\d){2})(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z\d]).{8,}$

Reply to this email directly or view it on GitHub: https://github.com/dsamojlenko/turnkey-wetkit-drupal/issues/9#issuecomment-47966387