File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ const GlobalStore = {
44
44
? JSON . parse ( localStorage . getItem ( 'storedUtcDisplay' ) )
45
45
: true ,
46
46
username : localStorage . getItem ( 'storedUsername' ) ,
47
- currentUser : JSON . parse ( sessionStorage . getItem ( 'storedCurrentUser' ) ) ,
47
+ currentUser : JSON . parse ( localStorage . getItem ( 'storedCurrentUser' ) ) ,
48
48
isAuthorized : true ,
49
49
isServiceLoginEnabled : false ,
50
50
} ,
@@ -134,12 +134,12 @@ const GlobalStore = {
134
134
{ commit, getters } ,
135
135
username = localStorage . getItem ( 'storedUsername' )
136
136
) {
137
- if ( sessionStorage . getItem ( 'storedCurrentUser' ) ) return ;
137
+ if ( localStorage . getItem ( 'storedCurrentUser' ) ) return ;
138
138
return api
139
139
. get ( `/redfish/v1/AccountService/Accounts/${ username } ` )
140
140
. then ( ( { data } ) => {
141
141
commit ( 'setCurrentUser' , data ) ;
142
- sessionStorage . setItem (
142
+ localStorage . setItem (
143
143
'storedCurrentUser' ,
144
144
JSON . stringify ( getters . currentUser )
145
145
) ;
You can’t perform that action at this time.
0 commit comments