Add organizations to Devise email routes v2

What does this MR do and why?

This reverts merge request !212005 (merged) and re-instates the changes in !209346 (merged)

Also:

  • Adds end-to-end specs to verify that the links sent in Devise emails work as intended
  • Fixes a minor bug in confirmations flow uncovered by the new specs
  • Adds a feature flag devise_email_organization_routes to use the new routes in sent emails, so we can roll back quickly if any issues are discovered

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Andrew Evans

Merge request reports

Loading