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

[PRODDEV-111] Request verification only once per browser #258

Merged
merged 35 commits into from
Feb 9, 2021

Conversation

NightHunterSV
Copy link

@NightHunterSV NightHunterSV commented Feb 3, 2021

https://openy.atlassian.net/browse/PRODDEV-111

Steps to test:

  • Log in as an admin

  • Enable "Open Y Virtual YMCA Auth Custom" module (at /admin/modules)

  • Check the Custom provider on the Virtual YMCA Auth settings page (/admin/openy/virtual-ymca/gc-auth-settings)
    image

  • Check the "Require Email verification" on the "EMAIL VERIFICATION" settings for the Custom provider (/admin/openy/virtual-ymca/gc-auth-settings/provider/custom)
    image

  • Create some user(s) on the /admin/people page, give the Virtual Y role(s)

  • Try to log in with the created user's email -- you should get the verification message
    image

  • Verify the user -- clicking the link from an email, sent to the user's mail (visit the MailHog on http://mail.{pr_build_domain} and find the appropriate message)

  • (Ensure the Drupal_visitor_auth_custom_authorized cookie was created)
    image

  • Log out and try to log in with sane user's email -- you should be able to get in without the verification this time

  • Then try to log in with the same email in another browser or even device -- you should be requested for the verification again. And after once verified -- you should be able to log in without the verification on both browsers or devices.

Quality checks:

Please check these boxes to confirm this PR covers the following cases:

  • No updates are necessary for this change.
  • This change does not contain front-end fixes.
  • I have flagged this PR "Needs Review" or pinged the VY devs/QA
    team in Slack

hamrant
hamrant previously approved these changes Feb 8, 2021
Migrate Virtual Y small banner image
@anpolimus anpolimus changed the base branch from master to 1.3 February 9, 2021 09:40
# Conflicts:
#	js/gated-content/dist/gated-content.umd.min.js
#	modules/openy_gc_log/src/LogArchiver.php
@fivejars fivejars deleted a comment from fjbot Feb 9, 2021
@fivejars fivejars deleted a comment from fjbot Feb 9, 2021
@fivejars fivejars deleted a comment from fjbot Feb 9, 2021
@fivejars fivejars deleted a comment from fjbot Feb 9, 2021
@fivejars fivejars deleted a comment from fjbot Feb 9, 2021
@fivejars fivejars deleted a comment from fjbot Feb 9, 2021
@fivejars fivejars deleted a comment from fjbot Feb 9, 2021
@fivejars fivejars deleted a comment from fjbot Feb 9, 2021
@fivejars fivejars deleted a comment from fjbot Feb 9, 2021
@fivejars fivejars deleted a comment from fjbot Feb 9, 2021
@NightHunterSV
Copy link
Author

retest

@AnastasiiaPys
Copy link

tested , all good

@AnastasiiaPys AnastasiiaPys merged commit 5041996 into 1.3 Feb 9, 2021
@hamrant hamrant deleted the PRODDEV-111 branch October 11, 2021 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants