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

Add hint about user object cached in the sessions #775

Merged
merged 4 commits into from
May 2, 2024

Conversation

alexander-schranz
Copy link
Member

Q A
Fixed tickets fixes #issuenum
Related PRs sulu/sulu#prnum
License MIT

What's in this PR?

Add hint about user object cached in the sessions.

Why?

Did run into this issue after deploy a project.

@@ -94,6 +94,11 @@ For the `User` entity (`se_users`):
model: App\Entity\User
repository: Sulu\Bundle\SecurityBundle\Entity\UserRepository

.. note::

Symfony keeps the user object in the session, clearing the sessions is so sometimes required
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a link to the symfony command how to clear the sessions

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wachterjohannes dont know any command which clears the sessions.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how have you done it then in the project we had that problem?

Copy link
Member Author

@alexander-schranz alexander-schranz Jul 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete the session files manual they are stored differently based on the OS

@alexander-schranz alexander-schranz merged commit 178a90c into 2.4 May 2, 2024
1 check passed
@alexander-schranz alexander-schranz deleted the alexander-schranz-patch-1 branch May 2, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants