Add step 2 of the experimental signup flow
What does this MR do?
Part of gitlab-org/growth/engineering#20 (closed) Depends on !16482 (merged)
Currently, the sign in and sign up form is on the same page and can be toggled in a tab bar. Growth wants to start an experiment to have separate pages and also change the design of the sign up page.
This experiment will only go out to a small percentage of our .com visitors.
Instead of users/sign_in#login-pane
and users/sign_in#register-pane
urls, it's then users/sign_in
and users/sign_up
.
Because of the current behaviour, where we distinguish between sign up and sign in page based on the anchor, we need to redirect to users/sign_up
on the client side. We're doing this inside <head>
on purpose to not render anything from the sign in page beforehand.
In this MR, the full name and role of the user are required fields to enter before being able to login.