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

Session is regenerated while not active #198

Open
marekk opened this issue Oct 4, 2018 · 0 comments
Open

Session is regenerated while not active #198

marekk opened this issue Oct 4, 2018 · 0 comments

Comments

@marekk
Copy link
Contributor

marekk commented Oct 4, 2018

sfSessionStorage::regenerate() does not check if session has been started, this results in warning "Cannot regenerate session id - session is not active".

This happens when logging in system user within a task.

First line of the method should be:
if (self::$sessionIdRegenerated || !self::$sessionStarted)

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

No branches or pull requests

1 participant