Fixed user registration bug when no import sources are selected
What does this MR do and why?
Resolves #423722 (closed).
Fixed user registration bug when no import sources are selected
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
More details in #423722 (closed)
- Simulate SAAS locally with GDK
- Login as root
- Navigate to
/admin/application_settings/general
- Under "Visibility and access controls" tab, Untick all Import Sources
- Logout and register a new user at
http://gdk.test:3000/users/sign_up
- Select radio options "Just me" and "Create a new project"
- Confirm redirected to
http://gdk.test:3000/users/sign_up/groups/new
with a working form
Note if trapped on the broken form page when testing, delete the session cookie to be able to log back in.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #423722 (closed)
Edited by Ross Byrne