docbrown/app/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 Rebranding from passport to forem account (#16754) 2022-03-09 10:03:16 -06:00
authenticator.rb Fix email confirmation logic when registering via Omniauth (#17878) 2022-06-23 16:26:26 -04:00
paths.rb Rubocop: address feedback of #9430 and use kwargs (#9538) 2020-07-29 11:13:36 +02:00
providers.rb app/services i18n (#16189) 2022-01-20 09:25:25 -05:00