summaryrefslogtreecommitdiff
path: root/client/js/services/Identity.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/js/services/Identity.js')
-rw-r--r--client/js/services/Identity.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/js/services/Identity.js b/client/js/services/Identity.js
index 7604230..a13c457 100644
--- a/client/js/services/Identity.js
+++ b/client/js/services/Identity.js
@@ -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));
});
};