Add _auth.storeCredentials again to login-existing

This commit is contained in:
Tankred Hase 2014-07-23 17:11:33 +02:00
parent 8617a4d0ed
commit aed2a5ec14
1 changed files with 8 additions and 2 deletions

View File

@ -47,8 +47,14 @@ define(function(require) {
return;
}
$location.path('/desktop');
$scope.$apply();
appController._auth.storeCredentials(function(err) {
if (err) {
return $scope.onError(err);
}
$location.path('/desktop');
$scope.$apply();
});
}
function handleError(err) {