Skip to content

Commit 1708a4d

Browse files
committed
Fix UserService
1 parent 426c323 commit 1708a4d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

frontend/scripts_angular/Service.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,13 @@
1313
* changePassword() -> Can change password for current user : TODO
1414
**/
1515
var UserService = function($rootScope, $http, $q, $cookies){
16-
var currentLogin = null;
1716
return {
1817
isConnected: function(){
1918
return this.getToken() != null;
2019
},
2120
getToken: function(){
2221
return $cookies.get('SESSION_ID');
2322
},
24-
getCurrentLogin: function(){
25-
return this.currentLogin;
26-
}
2723
login: function(login, password){
2824
var deferredObject = $q.defer();
2925
var userResult ={

0 commit comments

Comments
 (0)