jaliss/securesocial — pull request #7 by erosas (2011-11-28 03:44:06+00:00)
Title: Proper clean up in the DefaultUserService for non-activated accounts

Old activations are now properly cleaned up. Notice that in the controller the user is being saved so at the point of sending the activation email, the user exists on both maps. This is fine because it makes searching for taken usernames easier since only the "users" map needs to be scanned but in case that the account is not activated this needs to be cleaned up. This will cause many inactive accounts to exist that will waste usernames. (Either this implementation changes, or the controller logic changes)

Also, it may be a good idea to add delete to the Service interface.