Log user in on email confirmation
Problem to solve
After clicking "confirm" in the confirmation email GitLab sends out, the user is taken to the /users/sign_in
page and must enter their username/password. This is an unnecessary step we may be able to eliminate.
Further details
See https://gitlab.com/gitlab-org/gitlab-ce/issues/47003 for more details about our sign-up flow.
Proposal
- On clicking the confirm CTA in the email confirmation, set the email to confirmed and log the user into GitLab.
- We may want to consider expiring email confirmations after a set period of time if we don't already.
- After confirming, the associated link should no longer be able to be used to log in.