[Library | Trunk]: Revert userinfo method

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59234 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2020-08-07 08:12:54 +00:00
parent 59ff1cc209
commit 122437e58c
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export class UserManagementService {
constructor(private http: HttpClient,
private router: Router) {
this.promise = new Promise<any>((resolve => {
if(properties.environment !== 'development') {
if(true) {
const token = COOKIE.getCookie('AccessToken');
if (!token) {
this.getUserInfoSubject.next(null);