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
Logout Redirection Page is not working #25941
Comments
Which Joomla-Version? There is a Reason why you are asked for "System Information". |
|
Joomla V3.9.11 |
@chandanndeep that doesn't look like a core menu item. can you show us the details tab? |
@infograf768 @HLeithner @chandanndeep Is the "System - Logout" plugin enabled or disabled? If it is active, it overrides the setting of the menu item and always redirects to the home. |
@HLeithner its the standard logout page! The user just has several plugins installed which add extra tabs |
Oh ok I found it, thx @simbus82 |
The description has been changed by @infograf768 in PR #12337 but I don't see a functional change in this pr maybe I didn't see a reference to a code change? In my opinion the description is wrong and should be changed back to the original text if there wars no intention to change this behavior in j3.7 |
@HLeithner |
@simbus82 its both |
Also dont forget that the string is also used for the module and not just the menu item where the behaviour may be different |
Not that I am aware of. |
change has been done in this commit: 463bbb6#diff-7bead94ab2f4003deaee80abfddcf323L206 From "default" to "same" which is not the same ;-) anyway so we should change this back to the correct value. |
lol, indeed. Different from the module indeed. |
Anyone makes the patch? |
Sorry if I wasnt clear (typing on my phone). The module strings were chan ged in the same PR that Harald linked to and they will be different to the component behaviour |
I will make the pr. |
Closing for PR #25946 thx all for the help. |
Sorry guys but... i have tested it before.
If this plugin is disabled, the menu voice with Logout Redirection Page set to "Default" works well, as the expected behaviour. |
Based on the source of system - logout it would only redirect you to the main page if the current page is not accessible by the current user. Which is no user if you hit the logout button. But if you set a redirect the redirect should be executed before system - logout get called to redirect you... are you sure the page you are redirecting to has access level public? also the component takes the return parameter and should redirect you to the url (menu item) you set. if none is set it redirects you to the default page. Or I misinterpret something in the source |
I have do this test, i have created a menu voice "logout" with same settings as @chandanndeep. Example with Plugin OFF Maybe we need only to inform the admin user that the plugin affects this behavior. |
Reopened as #25946 is closed. |
The issue still happens in J4. Unfortunately, with the way menu logout is implemented, it's quite hard to fix. |
Steps to reproduce the issue
Logout Redirection Page "Default" view is not working.
According to tooltip = The default is to stay on the same page.
Expected result
Stay on the same page.
Actual result
Redirect to homepage from Default view.
The text was updated successfully, but these errors were encountered: