FS-8205 [verto_communicator] fix login with config provision

This commit is contained in:
Stefan Yohansson authored and Ken Rice committed 2015-09-25 10:08:09 -05:00
1 parent f1ce52430d
commit d5241c8c06
1 file changed
+3 -1
@@ -62,7 +62,9 @@ vertoService.service('config', ['$rootScope', '$http', '$location', 'storage', '
verto.data.autologin_done = true;
}
$rootScope.$emit('config.http.success', data);
if(verto.data.login && verto.data.password && verto.data.name && verto.data.email) {
$rootScope.$emit('config.http.success', data);
}
return response;
}, function(response) {
$rootScope.$emit('config.http.error', response);