FS-8205 [verto_communicator] fix auto call config provision

This commit is contained in:
Stefan Yohansson 2015-09-25 11:51:58 -03:00 committed by Ken Rice
parent ba8b7c8aa2
commit 015e81c94f
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ vertoService.service('config', ['$rootScope', '$http', '$location', 'storage', '
verto.data.autologin_done = true;
}
if(storage.data.name.length && storage.data.email.length && storage.data.login.length && storage.data.password.length) {
if(verto.data.autologin && storage.data.name.length && storage.data.email.length && storage.data.login.length && storage.data.password.length) {
$rootScope.$emit('config.http.success', data);
};
return response;