[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:
parent
59ff1cc209
commit
122437e58c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue