Skip to content

Hardcode email on registration if it is an invite

Doug Stull requested to merge 429936-readonly-email-on-registration into master

What does this MR do and why?

Hardcode email on registration if it is an invite

  • less fields and allows changing of an email for an invite easily as that could lead to issues accepting the invite
  • see #429936 (comment 1661352529) for discussion on how to handle error condition
  • see #429936 (closed) for more details

Changelog: changed

Screenshots or screen recordings

Before After
Screenshot_2023-11-20_at_4.41.17_PM Screenshot_2023-11-20_at_4.40.48_PM

How to set up and validate locally

  1. Visit sign up page: /users/sign_up
  2. Notice current setup w/email and sign up.
  3. Visit sign up page with invite email as param: /users/sign_up?invite_email=something@bb.com
  4. Notice change in screenshots and sign up.
  5. Visit sign up page again with an invite email that is used by a user already: /users/sign_up?invite_email=something@boub.com
  6. Notice the error handling ability.
  7. Compare to master branch if desired.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #429936 (closed)

Edited by Doug Stull

Merge request reports

Loading