The created account now automatic set email as verified
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/accept-invite-portlet@164520 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
24df1427a1
commit
4293f75ae2
|
@ -4,10 +4,7 @@
|
||||||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||||
<dependent-module archiveName="invites-common-library-1.5.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/invites-common-library/invites-common-library">
|
<dependent-module archiveName="email-templates-library-1.2.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/email-templates-library/email-templates-library">
|
||||||
<dependency-type>uses</dependency-type>
|
|
||||||
</dependent-module>
|
|
||||||
<dependent-module archiveName="email-templates-library-1.1.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/email-templates-library/email-templates-library">
|
|
||||||
<dependency-type>uses</dependency-type>
|
<dependency-type>uses</dependency-type>
|
||||||
</dependent-module>
|
</dependent-module>
|
||||||
<property name="context-root" value="accept-invite-portlet"/>
|
<property name="context-root" value="accept-invite-portlet"/>
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
<ReleaseNotes>
|
<ReleaseNotes>
|
||||||
|
<Changeset component="org.gcube.portlets-user.accept-invite.1-1-0"
|
||||||
|
date="2018-02-22">
|
||||||
|
<Change>The created account now automatic set email as verified
|
||||||
|
</Change>
|
||||||
|
</Changeset>
|
||||||
<Changeset component="org.gcube.portlets-user.accept-invite.1-0-0"
|
<Changeset component="org.gcube.portlets-user.accept-invite.1-0-0"
|
||||||
date="2017-12-06">
|
date="2017-12-06">
|
||||||
<Change>First release
|
<Change>First release
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -13,7 +13,7 @@
|
||||||
<artifactId>accept-invite-portlet</artifactId>
|
<artifactId>accept-invite-portlet</artifactId>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
<name>accept-invite-portlet Portlet</name>
|
<name>accept-invite-portlet Portlet</name>
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
<version>1.1.0-SNAPSHOT</version>
|
||||||
<description>
|
<description>
|
||||||
accept-invite-portlet manage the sent invitations
|
accept-invite-portlet manage the sent invitations
|
||||||
</description>
|
</description>
|
||||||
|
|
|
@ -246,6 +246,7 @@ public class PortletViewController {
|
||||||
true,
|
true,
|
||||||
new ServiceContext());
|
new ServiceContext());
|
||||||
_log.debug("CreateUser " + lastName + " SUCCESS");
|
_log.debug("CreateUser " + lastName + " SUCCESS");
|
||||||
|
UserLocalServiceUtil.updateEmailAddressVerified(toReturn.getUserId(), true);
|
||||||
UserLocalServiceUtil.updateAgreedToTermsOfUse(toReturn.getUserId(), false);
|
UserLocalServiceUtil.updateAgreedToTermsOfUse(toReturn.getUserId(), false);
|
||||||
UserLocalServiceUtil.updatePasswordReset(toReturn.getUserId(), false);
|
UserLocalServiceUtil.updatePasswordReset(toReturn.getUserId(), false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue