aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-03-31 13:27:02 -0400
committerGunther6070 <haydenhartman10@yahoo.com>2025-03-31 13:27:02 -0400
commit07a9e3c6faf735b374c6b63235defeb8a38a6661 (patch)
treeccd4dc676037ba87681fd9c19bd206f4e94b2aed
parent655f83af9ba59d6153c9916b9a31bfe12680655e (diff)
downloadJellySolutions-07a9e3c6faf735b374c6b63235defeb8a38a6661.tar.gz
JellySolutions-07a9e3c6faf735b374c6b63235defeb8a38a6661.tar.bz2
JellySolutions-07a9e3c6faf735b374c6b63235defeb8a38a6661.zip
Implemented logout functionality with localStorage
-rw-r--r--ufund-ui/src/app/app.component.ts1
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()
}