[core] Remove cluster config call on login page
@@ -40,7 +40,9 @@ function ClusterConfig (params) {
huePubSub.subscribe('cluster.config.refresh.config', refreshConfig);
+ if (window.location.pathname.indexOf('/accounts/login') === -1) {
refreshConfig();
+ }
huePubSub.subscribe('cluster.config.get.config', function () {
if (!self.loading) {
