Fix communities search when user is not logged in
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@57096 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
86820efde1
commit
7887d9d944
|
@ -167,7 +167,7 @@ export class SearchCommunitiesComponent {
|
|||
if (result.status == 'hidden') {
|
||||
continue;
|
||||
} else if (result.status == "manager") {
|
||||
let mail = this.user.email;
|
||||
let mail = (this.user)?this.user.email:null;
|
||||
if (mail == null) { // no user
|
||||
continue;
|
||||
} else if (Session.isCommunityCurator(this.user) || Session.isPortalAdministrator(this.user)) {
|
||||
|
|
|
@ -37,9 +37,9 @@
|
|||
|
||||
"piwikBaseUrl" :"https://analytics.openaire.eu/piwik.php?idsite=",
|
||||
"piwikSiteId" : "80",
|
||||
"loginUrl" :"http://rudie.di.uoa.gr:8280/dnet-login/openid_connect_login",
|
||||
"loginUrl" :"http://rudie.di.uoa.gr:8080/dnet-login/openid_connect_login",
|
||||
|
||||
"userInfoUrl" : "http://rudie.di.uoa.gr:8280/dnet-openaire-users-1.0.0-SNAPSHOT/api/users/getUserInfo?accessToken=",
|
||||
"userInfoUrl" : "http://rudie.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/api/users/getUserInfo?accessToken=",
|
||||
|
||||
"logoutUrl" :"https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=",
|
||||
|
||||
|
|
Loading…
Reference in New Issue