Skip to content
Snippets Groups Projects
Commit 66e350c2 authored by David Beguin's avatar David Beguin
Browse files

[FIX] survey: redirect on login page on survey start if not logged in.


Before this commit, when sharing a survey 'Login required' to a non logged in
user, the redirection was made to the home page.
The reason is: when the survey is not started yet, no user input is already
created for this survey and this user. So if no user_input has been created,
yet, that means that the user has never started the survey before and user
need first to login before continuing.

After this commit, we redirect to the loggin page.

Task ID: 2246430

closes odoo/odoo#58960

X-original-commit: a309d889ddf6e03a6701e921258cfa9338800fbb
Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
Signed-off-by: default avatarDavid Beguin <dbeguin@users.noreply.github.com>
parent be3b77ad
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment