From: Stefan Yohansson Date: Thu, 24 Sep 2015 23:04:04 +0000 (-0300) Subject: FS-8205 [verto_communicator] fix login with config provision X-Git-Tag: v1.6.3~1^2~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5241c8c0659d6df35f7524c74b28ba7ca882e28;p=thirdparty%2Ffreeswitch.git FS-8205 [verto_communicator] fix login with config provision --- 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);