We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 426c323 commit 1708a4dCopy full SHA for 1708a4d
frontend/scripts_angular/Service.js
@@ -13,17 +13,13 @@
13
* changePassword() -> Can change password for current user : TODO
14
**/
15
var UserService = function($rootScope, $http, $q, $cookies){
16
- var currentLogin = null;
17
return {
18
isConnected: function(){
19
return this.getToken() != null;
20
},
21
getToken: function(){
22
return $cookies.get('SESSION_ID');
23
24
- getCurrentLogin: function(){
25
- return this.currentLogin;
26
- }
27
login: function(login, password){
28
var deferredObject = $q.defer();
29
var userResult ={
0 commit comments