Automatically disable registration codes when registration successfully completes.