From d5241c8c0659d6df35f7524c74b28ba7ca882e28 Mon Sep 17 00:00:00 2001 From: Stefan Yohansson Date: Thu, 24 Sep 2015 20:04:04 -0300 Subject: [PATCH] FS-8205 [verto_communicator] fix login with config provision --- .../src/vertoService/services/configService.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html5/verto/verto_communicator/src/vertoService/services/configService.js b/html5/verto/verto_communicator/src/vertoService/services/configService.js index 0f2f4fcce0..58fa7ccbbe 100644 --- a/html5/verto/verto_communicator/src/vertoService/services/configService.js +++ b/html5/verto/verto_communicator/src/vertoService/services/configService.js @@ -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);