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
This commit is contained in:
Massimiliano Assante 2019-10-01 15:32:55 +00:00
parent 73bbed20af
commit da5ed4080d
4 changed files with 6 additions and 3 deletions

View File

@ -11,4 +11,7 @@
<Changeset component="gr.cite.google.1-3-0" date="2018-03-13"> <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> <Change>Bug #11432, D4Science Gateway user registration: confirmation email is sent upon new user registration via Google or LinkedIn SSO</Change>
</Changeset> </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> </ReleaseNotes>

View File

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

View File

@ -124,7 +124,7 @@ public class GoogleOAuth extends BaseStrutsAction {
landingPage = LandingPageManager.getLandingPagePath(request, user); 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); response.sendRedirect(landingPage);
} }
return null; return null;

View File

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