Comment.
Reset the UI when an error occured during the registration.