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

Provide a method to clean the session table #28

Open
thkoch2001 opened this issue May 26, 2014 · 1 comment
Open

Provide a method to clean the session table #28

thkoch2001 opened this issue May 26, 2014 · 1 comment

Comments

@thkoch2001
Copy link

The cc_security_session table accumulates all failed login attempts but is never cleaned so it grows without bounds. This might also be a privacy issue because this table can contain IP adresses from legitimate users too, who just forgot their password.

Is there a standard method in Symfony to distribute cronjobs in a Symfony bundle? Maybe one could provide some command that can be executed once an hour or day to delete old entries from the cc_security_session table.

@reecefowell
Copy link
Member

If you would like to write something for this, it could easily be hooked into a cron job every month or whatever you prefer.

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

2 participants