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

Reset the session key for session attributes to a default Symfony value #178

Merged
merged 1 commit into from Apr 10, 2020

Conversation

emodric
Copy link
Collaborator

@emodric emodric commented Apr 7, 2020

Without this, on Symfony 3.4.39 (since symfony/symfony#36063), after logging into Netgen Admin UI, user is presented with an erroneous secondary login form, since now eZ Publish Legacy and Symfony use different session keys for session attribute storage, making the sessions incompatible:

image

After refreshing the page, everything works fine, but this fixes the issue completely by making sure that the sessions are compatible again after 3.4.39. It should also be fully backwards compatible with previous Symfony versions.

This could've maybe gone into Netgen Admin UI repo, but I feel this is a more generic fix and this is a more correct location for the fix.

@emodric emodric requested a review from andrerom April 7, 2020 08:57
@andrerom andrerom merged commit 4bc4408 into master Apr 10, 2020
@andrerom andrerom deleted the emodric-patch-1 branch April 10, 2020 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants