Do not require email verification for OAuth users
What does this MR do and why?
This skips the required email verification feature for OAuth users.
Closes #400049
How to set up and validate locally
- Setup Google OAuth in GDK
- Enable the
require_email_verification
feature flagFeature.enable(:require_email_verification)
- Create an account by visiting http://localhost:3000/users/sign_up and clicking 'Register with: Google'
- Logout the new user
- Visit http://localhost:3000/users/sign_in and try to login the new user 5 times with a password
- Visit http://localhost:3000/rails/letter_opener and verify you have received an email with subject 'Unlock instructions'
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Alex Buijs