candlepin/subscription-manager — pull request #357 by awood (2012-10-29 15:05:26+00:00)
Title: Clear cached activation key or environment values.

When a user registers with an activation key, then unregisters, then re-registers without an activation key, we need to clear the cached activation key value before sending the registration information to the server. The same principle applies with the environment value if a user registers without an activation key, unregisters, then re-registers with an activation key.