Enabling account activation
To enable this feature you must complete these steps:
- Enable account activation in the Portal configuration in the Configuration Editor.
- Configure the Register New Account widget.
- Configure the notification template for the account activation message.
Enabling account activation
In the Portal configuration, select the Enable Activation attribute to True.
node and set theYou can also use the Activation Code Length attribute to specify the length of the activation code that is sent to the user. The default is 6 characters.
Configuring the widget
Next, log in to the portal site as an administrator and navigate to the registration page. Open the widget configuration for the Register New Account widget and set "Require account activation" to True. In the Activation Email Template ID field, specify RegisterPortalUser.
Configuring the notification template
The RegisterPortalUser notification template is used to send the email to a newly registered user. To edit the template, log in to Infor Public Sector and select .
See Notifications.
The template must include a link with the URL parameters /activationCode/{{oMembership.ActivationCode}}
, such as https://portal.city.gov/#/activationCode/{{oMembership.ActivationCode}}
.
Testing
To test your configuration, register a new user in the portal site. You should receive an email containing an activation link, as specified in the notification template. Click the link to activate the new account.