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
/
AppComponent.ts
diff --git
a/src/app/AppComponent.ts
b/src/app/AppComponent.ts
index
04ad8d8
..
5af5609
100644
(file)
--- a/
src/app/AppComponent.ts
+++ b/
src/app/AppComponent.ts
@@
-86,7
+86,7
@@
export class AppComponent {
public idleTimeOut(): void {
this.idle.onTimeout.subscribe(() => {
this.idle.stop();
- if (
local
Storage.getItem('id_token') !== null) {
+ if (
session
Storage.getItem('id_token') !== null) {
this.authService.logout();
}
});