docbrown/spec/services/authentication
Fernando Valverde 1eafd7388e
Fix email confirmation logic when registering via Omniauth (#17878)
* Move .skip_confirmation! call to .find_or_create_user! method

* Add regression tests to avoid email confirmation delivery

* Keep the original place where we had user.skip_confirmation! too

* Update logic to require email confirmation from omniauth

* test confirmation is required with SMTP

* Keep :notice instead of :global_notice

* Forem Account bypass email confirmation reorg

* inline comment reorder + clarification

* Apply suggestions from code review

Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>

Co-authored-by: Fernando Valverde <fernando@visualcosita.com>
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
2022-06-23 16:26:26 -04:00
..
providers Enable Forem (Passport) Auth (#15141) 2021-11-23 14:59:00 -06:00
authenticator_spec.rb Fix email confirmation logic when registering via Omniauth (#17878) 2022-06-23 16:26:26 -04:00
providers_spec.rb Login with Google (#15986) 2022-01-13 10:25:52 -06:00