mirror of https://github.com/portainer/portainer
fix(UI): Make sure localStorage.getUserId actually returns user id R8S-290 (#623)
parent
64c796a8c3
commit
46eddbe7b9
|
@ -30,7 +30,7 @@ angular.module('portainer.app').factory('LocalStorage', [
|
||||||
return localStorageService.get('UI_STATE');
|
return localStorageService.get('UI_STATE');
|
||||||
},
|
},
|
||||||
getUserId() {
|
getUserId() {
|
||||||
localStorageService.get('USER_ID');
|
return localStorageService.get('USER_ID');
|
||||||
},
|
},
|
||||||
storeUserId: function (userId) {
|
storeUserId: function (userId) {
|
||||||
localStorageService.set('USER_ID', userId);
|
localStorageService.set('USER_ID', userId);
|
||||||
|
|
Loading…
Reference in New Issue