This commit is contained in:
manzerbredes 2016-02-29 08:32:48 +01:00
parent 88894499be
commit 6a67f6ba9d
2 changed files with 3 additions and 3 deletions

View file

@ -117,9 +117,9 @@ mainApp.factory('Identity',[ '$http', '$cookies', function($http, $cookies){
// Wait and handle the response
result.then(function (response){
callback(parseLoginAnswer(response), false);
callback(parseLoginAnswer(response, false));
},function(response){
callback(parseLoginAnswer(response), true)
callback(parseLoginAnswer(response, true));
});
};