This section describes how to configure double opt-in self-registration for new users in structr.conf.
You can define custom properties to be set on the newly created user at creation time included in the POST request. This only works with the following setting in structr.conf:
JsonRestServlet.user.autocreate = true
Registration.customUserAttributes = eMail
To allow users to login even before the opt-in confirmation was received, set the following parameter to true. This is typically done when your login workflow allows registering users to set an inital password on the registration page.
Registration.allowLoginBeforeConfirmation = false
You can define a custom class to be created for new users upon registration:
Registration.customUserClass = User
- The Structr Knowledge Graph
- About Structr
- Getting Started
- Installation and Setup
- Working with Structr
- Advanced Topics