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

Remove old uncofirmed user records #635

Open
matschaffer opened this issue Feb 14, 2020 · 0 comments
Open

Remove old uncofirmed user records #635

matschaffer opened this issue Feb 14, 2020 · 0 comments

Comments

@matschaffer
Copy link
Contributor

We had a recent case where we were getting spam user registrations.

Devise ensures we only allow confirmations for 3 days https://github.com/Safecast/safecastapi/blob/master/config/initializers/devise.rb#L142

So any unconfirmed records older than 3 days are basically useless. Might be good to delete them on a schedule.

@auspicacious auspicacious added this to Backburner in API Team board May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
API Team board
Backburner
Development

No branches or pull requests

1 participant