Disable/Enabled registration based on config