Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform: Better Passwords #272

Closed
StudioZut opened this issue Jun 7, 2024 · 9 comments
Closed

Platform: Better Passwords #272

StudioZut opened this issue Jun 7, 2024 · 9 comments
Assignees

Comments

@StudioZut
Copy link
Contributor

StudioZut commented Jun 7, 2024

Assess a password tool like https://www.drupal.org/project/better_passwords. Requires the zxcvbn-php library available at https://github.com/bjeavons/zxcvbn-php but otherwise seems straightforward.

mariacha pushed a commit that referenced this issue Jun 12, 2024
mariacha pushed a commit that referenced this issue Jun 12, 2024
mariacha pushed a commit that referenced this issue Jun 12, 2024
@mariacha
Copy link
Collaborator

This is up and available for review at https://pr-1189-wriflagship.pantheonsite.io/admin/people/create

If you try to enter a password that's less than 12 characters, you will get an error. Weak passwords like "testtesttest" also throw errors. You also have the option of auto-generating a password for a new user. This makes a random string of characters for you. In this workflow, admins never know the generated password. New users must use the "Forgot password" link, check their emails, and generate a new password for themselves to log in for the first time. Using the auto-generated password is optional though.

Screenshot 2024-06-12 at 10 16 26 AM

@monicapatel21
Copy link

monicapatel21 commented Jun 18, 2024

Note: Password reset needs SendGrid enabled on platform sites
Editors should not select the option to Auto-generate a password on the non-flagship site.

@mariacha
Copy link
Collaborator

Change is up on develop:
https://develop-wriflagship.pantheonsite.io/admin/config/people/passwords

The auto-generate option is now available on Flagship since it has sendgrid set up:
https://develop-wriflagship.pantheonsite.io/admin/people/create

@mariacha mariacha assigned shannon-paton and wthomaswri and unassigned mariacha Jun 18, 2024
@monicapatel21
Copy link

Update from Shannon -- no email to @wri or @gmail accounts
Christian just enabled SendGrid on all live environments today.

Maria to take a look at develop

@mariacha
Copy link
Collaborator

Hmm, I did get an email sent from sendgrid:

Screenshot 2024-06-25 at 11 51 51 AM

@shannon-paton There's a checkbox below that is easy to miss but is required to get the email to send "Notify user of new account" -- any chance you missed checking that?

Screenshot 2024-06-25 at 11 51 21 AM

@shannon-paton
Copy link

Yep, that was it! Worked for me @mariacha

@mariacha
Copy link
Collaborator

I've tested this out on the IOs and will deploy tomorrow.

@mariacha
Copy link
Collaborator

@mariacha
Copy link
Collaborator

Deployed today, so closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants