joscha / play-authenticate

An authentication plugin for Play Framework 2.x (Java)
http://joscha.github.com/play-authenticate/
Other
807 stars 366 forks source link

Remove inactive users #232

Closed jaybytez closed 9 years ago

jaybytez commented 9 years ago

If I use the capability to turn on email verifications, then I may want to have an automated process that cleans up accounts that were created and never used.

I know I can easily invalidate them by setting the active status to false.

But what would be the easiest way to remove a user?

joscha commented 9 years ago

You can also just remove them from your data store. Use ebean to delete them including the references in other tables or use cascading to do so. This is not really an issue of play authenticate as the used user model might be drastically different from application to application, hence closing this.