[Bug] The menu is loaded on public pages and breaks loginflow #443
Labels
No labels
blocked
bug
duplicate
enhancement
FR accepted
help wanted
invalid
need discussion
next release
not reproduced
PR requested
question
reproduced
WFB
WIP
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deblan/side_menu#443
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Environment
Configuration
Steps to reproduce
Enable
side_menuandexternalapplications.Try to login with a desktop client.
Observed Results
On the login page, the menu script is loaded and tries to load the external application icons.
This results in a request to the external controller to get the application icon.
Because this is not a public page this is not allowed with an ephemeral session and the session gets killed.
Expected Results
The menu should only load on authenticated pages.
More informations
I was surprised that the side_menu controller routes are public. Are there usecases for having the menu on public pages?
If not, it should listen to BeforeTemplateRenderedEvent and check getResponse()->getRenderAs() to skip the script on public and error pages.