mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 00:22:35 +00:00
FS-8205 [verto_communicator] fix login config provision
This commit is contained in:
parent
8d15e0a3d7
commit
ba8b7c8aa2
@ -62,9 +62,9 @@ vertoService.service('config', ['$rootScope', '$http', '$location', 'storage', '
|
|||||||
verto.data.autologin_done = true;
|
verto.data.autologin_done = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(verto.data.login != '' && verto.data.password != '' && verto.data.name != '' && verto.data.email != '') {
|
if(storage.data.name.length && storage.data.email.length && storage.data.login.length && storage.data.password.length) {
|
||||||
$rootScope.$emit('config.http.success', data);
|
$rootScope.$emit('config.http.success', data);
|
||||||
}
|
};
|
||||||
return response;
|
return response;
|
||||||
}, function(response) {
|
}, function(response) {
|
||||||
$rootScope.$emit('config.http.error', response);
|
$rootScope.$emit('config.http.error', response);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user