projects
/
osm
/
NG-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Coverity-CWE 922: Insecure Storage of Sensitive Information(localStorage write)
[osm/NG-UI.git]
/
src
/
app
/
users
/
user-details
/
UserDetailsComponent.ts
diff --git
a/src/app/users/user-details/UserDetailsComponent.ts
b/src/app/users/user-details/UserDetailsComponent.ts
index
51047ba
..
12c37fe
100644
(file)
--- a/
src/app/users/user-details/UserDetailsComponent.ts
+++ b/
src/app/users/user-details/UserDetailsComponent.ts
@@
-125,7
+125,7
@@
export class UserDetailsComponent implements OnInit, OnDestroy {
this.projectService.getAllProjects().subscribe((projects: {}[]) => {
this.projectList = projects;
});
this.projectService.getAllProjects().subscribe((projects: {}[]) => {
this.projectList = projects;
});
- this.isAdminShow =
local
Storage.getItem('admin_show') === 'true' ? true : false;
+ this.isAdminShow =
session
Storage.getItem('admin_show') === 'true' ? true : false;
this.generateColumns();
this.generateSettings();
this.generateData();
this.generateColumns();
this.generateSettings();
this.generateData();