Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The login view does not handle the redirect parameter correctly #39

Closed
visto9259 opened this issue Feb 20, 2023 · 0 comments · Fixed by #87
Closed

The login view does not handle the redirect parameter correctly #39

visto9259 opened this issue Feb 20, 2023 · 0 comments · Fixed by #87
Labels
bug Something isn't working V3 To be fixed in version 3 V4 To be implemented in version 4

Comments

@visto9259
Copy link
Member

The login view (login.phtml) does handle the redirect parameter properly such that, once the user is logged in, he is not redirected to the route specified in the redirect query param.

The issue is at line 11 in the view/lmc-user/user/login.phtml file:

<?php echo $this->partial('_form.phtml', ['form' => $form]); ?>

should be

<?php echo $this->partial('_form.phtml', ['form' => $form, 'redirect' => $this->redirect]); ?>
@visto9259 visto9259 added the bug Something isn't working label Feb 20, 2023
@visto9259 visto9259 added V4 To be implemented in version 4 V3 To be fixed in version 3 labels Apr 17, 2024
@visto9259 visto9259 mentioned this issue Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working V3 To be fixed in version 3 V4 To be implemented in version 4
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant