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

Login menu item as default: 403 error on redirect logout to this menu item #37042

Closed
sozzled opened this issue Feb 15, 2022 · 5 comments
Closed

Comments

@sozzled
Copy link

sozzled commented Feb 15, 2022

Steps to reproduce the issue

See full discussion at https://forum.joomla.org/viewtopic.php?f=808&t=991877. All the information is there.

Expected result

Based on J! 3.10.5

screen shot 2022-02-15 at 00 34 59

Actual result

screen shot 2022-02-15 at 00 35 19

System information (as much as possible)

J! 4.0.6, PHP 8.0.5, Cassiopeia frontend, Atum backend

Additional comments

The user is not logged-out and the [guest only] menu item causes a 403 error. Please read observations and comments from several forum users: three people have confirmed this can be reproduced.

@prakhar3062
Copy link
Contributor

I will check it and will try to improve

@sozzled
Copy link
Author

sozzled commented Feb 16, 2022

This is pretty basic J!. When someone clicks the logout menu item they should be (1) logged-out, then (2) redirected—if a redirection target is set—to wherever the site manager has defined the target. This does not seem to be happening with J! 4.x which appears to reverse the sequence, i.e. (1) redirect to the target and then (2). Under J! 4.x, if the user has no access to the redirected target—i.e. before the logout occurs—a 403 error is generated.

This did not happen with J! 2.5 or J! 3.x.

I think this is a bug.

@brianteeman
Copy link
Contributor

patience is a virtue ;)

As you know I have already confirmed that this is occurs when the home page is set to be com_users.

I have never done this before so I have no idea if it was ever possible.

@sozzled
Copy link
Author

sozzled commented Feb 17, 2022

I have never done this before so I have no idea if it was ever possible.

Demonstrated (with J! 3.0.6) in the animation above.

@sozzled
Copy link
Author

sozzled commented May 4, 2022

I gave up, deleted the test site, and consider this matter closed. It's been a waste of time trying to make this work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants