Draft: Add the glm params when redirecting to new_trial_registration_path
What does this MR do and why?
When the user requests /-/trials/new
without login, it will be redirect to /-/trial_registrations/new
, at which point the glm_params are lost. If the user login or registers and creates a trial, it will not be able to carry the glm_params. Therefore, I think we should add the glm_params when redirecting to /-/trial_registrations/new
.
/cc @daveliu @tianlu1677
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
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.
Edited by fx Li