Activation Properties
From DOC
The login page has two different registration links, one for a normally activated login using email and the other creates a demo user without needing email activation. Two tolven.properties allow you to configure either or both of these options. (Turning both off means users can only login to pre-existing accounts). For example, the following settings remove the email-activation step.
tolven.login.create.demoUser=true tolven.login.create.activatedUser=false
The two kinds of user registration pages are separate pages. The fields in each are customized to the type of registration. For example, creating a demo user account has a separate username (which is NOT an email address) and an email mail address field which is not verified. The full email-activation page, on the other hand, requires an email address as user id and it verifies the address via email.
If you would rather not use email activation, just disable it by setting the property:.
tolven.login.create.activatedUser=false
Tolven eMail registration is designed to reduce the need for administrative intervention. One thing that can occur that might otherwise require intervention is when a user creates a login but enters an incorrect email address and/or forgot their password. What the following setting does is set a timer so that if the user does not respond to the activation email within, say, one hour, the new login is automatically deleted. Thus, without intervention, if the user were to try again in an hour, it would be as if they had never been on the system in the first place.
tolven.register.expiration=3600
Either or both of these properties can be set to true. If neither of these properties is true, then users will not be able to create logins. Of course this does not mean users cannot be created. The API can still be used to create new users.
| Property | Default | Description |
| tolven.login.create.demoUser | true* | Allow "demo" users to be created from the login screen (no activation email is sent) |
| tolven.login.create.activatedUser | true* | Allow activated users to be created from the login screen. (Activation email is required). |
| tolven.register.expiration | 3600 | If a new user does not respond to their invitation within this number of seconds, the login will be removed thus allowing the user to try again such as when the user provided an incorrect email address. This avoids the need for a system administrator to manually reset the account. |
| tolven.register.separateUID | false | If set to true, the user id and email address can be separate. If false, the default, the user id and email address are the same. |

