/*
============LICENSE_START==========================================
===================================================================
-Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
+Copyright (C) 2018-2020 AT&T Intellectual Property. All rights reserved.
Copyright (C) 2018 IBM.
===================================================================
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {
- let userId = localStorage['userId'];
+ let userId = sessionStorage['userId'];
if (userId != null && userId != undefined && userId != '') {
return true;
} else {
}
}
-}
\ No newline at end of file
+}