diff options
author | Gunther6070 <haydenhartman10@yahoo.com> | 2025-03-31 13:27:02 -0400 |
---|---|---|
committer | Gunther6070 <haydenhartman10@yahoo.com> | 2025-03-31 13:27:02 -0400 |
commit | 07a9e3c6faf735b374c6b63235defeb8a38a6661 (patch) | |
tree | ccd4dc676037ba87681fd9c19bd206f4e94b2aed /ufund-ui/src/app/app.component.ts | |
parent | 655f83af9ba59d6153c9916b9a31bfe12680655e (diff) | |
download | JellySolutions-07a9e3c6faf735b374c6b63235defeb8a38a6661.tar.gz JellySolutions-07a9e3c6faf735b374c6b63235defeb8a38a6661.tar.bz2 JellySolutions-07a9e3c6faf735b374c6b63235defeb8a38a6661.zip |
Implemented logout functionality with localStorage
Diffstat (limited to 'ufund-ui/src/app/app.component.ts')
-rw-r--r-- | ufund-ui/src/app/app.component.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ufund-ui/src/app/app.component.ts b/ufund-ui/src/app/app.component.ts index 34256f3..94a6439 100644 --- a/ufund-ui/src/app/app.component.ts +++ b/ufund-ui/src/app/app.component.ts @@ -52,6 +52,7 @@ export class AppComponent implements OnInit { } logout() { + localStorage.removeItem("credential") location.reload() } |