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
/
utilities
/
warning
/
WarningComponent.ts
diff --git
a/src/app/utilities/warning/WarningComponent.ts
b/src/app/utilities/warning/WarningComponent.ts
index
c687fb0
..
d52e989
100644
(file)
--- a/
src/app/utilities/warning/WarningComponent.ts
+++ b/
src/app/utilities/warning/WarningComponent.ts
@@
-113,7
+113,7
@@
export class WarningComponent {
const modalData: MODALCLOSERESPONSEDATA = {
message: 'Done'
};
const modalData: MODALCLOSERESPONSEDATA = {
message: 'Done'
};
- const id: string =
local
Storage.getItem('user_id');
+ const id: string =
session
Storage.getItem('user_id');
const payLoad: UNLOCKPARAMS = {};
if (this.editType === 'unlock') {
payLoad.system_admin_id = id;
const payLoad: UNLOCKPARAMS = {};
if (this.editType === 'unlock') {
payLoad.system_admin_id = id;