Fixes bug not assigning the user to the cuttent gateway site in case of new user account

git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/branches/portal/google-hook-login/1.2/Google@181893 82a268e6-3cf1-43bd-a215-b396298e98cf
master
Massimiliano Assante 5 years ago
parent 73bbed20af
commit da5ed4080d

@ -11,4 +11,7 @@
<Changeset component="gr.cite.google.1-3-0" date="2018-03-13">
<Change>Bug #11432, D4Science Gateway user registration: confirmation email is sent upon new user registration via Google or LinkedIn SSO</Change>
</Changeset>
<Changeset component="gr.cite.google.1-4-0" date="2019-10-01">
<Change>Fixes bug not assigning the user to the cuttent gateway site in case of new user account</Change>
</Changeset>
</ReleaseNotes>

@ -19,7 +19,7 @@
<description>
The Google hook allows users to login with their Google credentials to a liferay portal
</description>
<version>1.3.1-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>
<scm>
<connection>scm:svn:http://svn.cite.gr/code-bluebridge/google-hook</connection>

@ -124,7 +124,7 @@ public class GoogleOAuth extends BaseStrutsAction {
landingPage = LandingPageManager.getLandingPagePath(request, user);
}
//landingPage = LandingPageManager.getLandingPagePath(request, user);
LandingPageManager.getLandingPagePath(request, user); //this call is needed to register the user to the site do not delete it
response.sendRedirect(landingPage);
}
return null;

@ -1,6 +1,6 @@
name=Google
module-group-id=liferay
module-incremental-version=2
module-incremental-version=4
tags=
short-description=
change-log=