Download the PHP package dcentrica/silverstripe-registration without Composer
On this page you can find all versions of the php package dcentrica/silverstripe-registration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dcentrica/silverstripe-registration
More information about dcentrica/silverstripe-registration
Files in dcentrica/silverstripe-registration
Package silverstripe-registration
Short Description Silverstripe member registration module
License MIT
Informations about the package silverstripe-registration
Silverstripe Member Registration
About
It does exactly what it says on the tin: Provides a route /Security/register
to a basic membership form for users to register with your Silverstripe application. It also provides a profile form, for your users to maintain their profiles.
Requirements
PHP ^8
silverstripe/framework ^5
- Does not require
silverstripe/cms
.
Configuration
An environment variable REGISTRATION_ENABLED
should be set in your hosting environment for the registration form to show. You can also choose to hide the form in userland code based on an arbitrary boolean using $handler->setHideCondition()
. Just overload this modules' getRegistrationHandler()
method in your own Authenticator
subclass as follows:
There's also an optional extension for augmenting Member
records with a field, whose value tells userland systems that a user was indeed created via registration.
By default, newly registered users are automatically logged-in. However, this behaviour can be configured as follows:
You can add an optional "success" message when registration is complete. This is useful to show if you do not want registered users to be automatically logged-in:
Caveats
- The module does not include any form of profile management (unlike the module this package was forked from).
- The module does not include any form of spam protection.
History
Forked from tony13tv/silverstripe-registration to work with Silverstripe 5+ and finish off a few rough edges.
License
This module retains the original module's MIT
license "claim" (the original module didn't come with a LICENSE
file, nor did it stipulate its licensing in any file headers).