Enabling account activation

For added security you can require new users to activate their accounts after registering. Activation is done by clicking a link in an email that is sent to the new user. The link includes a randomly generated activation code.

To enable this feature you must complete these steps:

  • Enable account activation in the Portal configuration in the Configuration Editor.
  • Configure the notification template for the account activation message.

Enabling account activation

In the Portal configuration, select the Portal User node and set the Enable Activation attribute to True.

You 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 notification template

Depending on the type of profile, one of two notification templates is used to send the email to a newly registered user:

  • RegisterPortalUser is used for individual user profiles.
  • RegisterPortalOrganization is used for organization profiles.

To edit these templates, log in to Infor Operations and Regulations and select Resources > Notification Templates.

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.