This fixes the issue of django messages being read before redirecting to dashboard page, due to enterprise api being called even if the feature is disabled.
This fixes the issue of django messages being read before redirecting to dashboard page, due to enterprise api being called even if the feature is disabled.