diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-02-29 08:32:48 +0100 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-02-29 08:32:48 +0100 |
| commit | 6a67f6ba9dce19b046a5fc86e7437fbaa873c1e8 (patch) | |
| tree | ce8f3f4d3ed2c029a054293a006f27f080279e06 /client/js/services/Identity.js | |
| parent | 88894499be544d50c9217b950a1ac801489c2442 (diff) | |
Test
Diffstat (limited to 'client/js/services/Identity.js')
| -rw-r--r-- | client/js/services/Identity.js | 4 |
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)); }); }; |
