Registration approval and double opt-in

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

By default, users can sign-in to the site immediately after successful registration. However, the two options highlighted in the following screenshot can be enabled in Site Manager -> Settings -> Membership. By enabling these options, you can include additional steps in the registration procedure.

 

devguide_clip0155

 

 

Registration requires e-mail confirmation

 

If checked, newly registered user will receive confirmation e-mail to the e-mail address specified on registration. This e-mail contains a confirmation link that has to be clicked in order to activate the account. The e-mail is based on the Membership - Registration e-mail template.

 

devguide_clip0160

 

After clicking the link, a special page will be opened in user's web browser, displaying the following message:

 

Your user account is now active. You can sign in using your user name and password. Click here to continue.

 

The link at the end of the message will redirect the user to the title page of the website. The user can then log in using the registration details received in the e-mail.

 

 

Registration requires administrator's approval

 

If this option is enabled, users will not be able to sign-in immediately after registration. Their registration will have to be approved by the site administrator. At this point, users will receive an e-mail based on the Membership - Registration waiting for approval e-mail template. You can see the default version of the e-mail in the screenshot below.

 

devguide_clip0163

 

In case that the option is enabled, the Waiting for approval tab will be displayed in Site Manager -> Administration -> Users. On this tab, site administrators can Approve (Approve) or Reject (Reject) user's registration.

 

devguide_clip0161

 

After the administrator's approval, users receive another e-mail, confirming that their account has been approved and can be used. The e-mail is based on the Membership - Registration approved e-mail template. You can see the default appearance of the e-mail in the screenshot below.

 

devguide_clip0162

 

Enabling both options

 

In case that you enable both of the options mentioned above, e-mail with the confirmation link will be sent first. After user's confirmation, registration will have to be approved by the administrator.

 

 

 

Please note

 

If you have one or both of the options enabled, it is important to set the Redirect to URL property of the registration web part properly. This means that users should not be redirected to any page displaying information about their user account (just as the Members -> Profile page on the sample Community Starter site). Because the account is not active yet (it is waiting for e-mail activation or approval), such page would display an error message, which might be misleading for the users.

 

 

 

Page url: http://devnet.kentico.com/docs/devguide/index.html?registration_approval_and_double_opt_in.htm