]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8205 [verto_communicator] fix auto call config provision
authorStefan Yohansson <stefan@evolux.net.br>
Fri, 25 Sep 2015 14:51:58 +0000 (11:51 -0300)
committerKen Rice <krice@freeswitch.org>
Fri, 25 Sep 2015 15:08:09 +0000 (10:08 -0500)
html5/verto/verto_communicator/src/vertoService/services/configService.js

index 2793cdb91d2db9bf8f4ca03420566745804d0add..924488f733d7a027d70df1d4340921d2f5daa94b 100644 (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;