How Tos
How to enable or disable registration activation?
Before enabling, make sure to complete mail settings in admin, to allow sending of email.
When this feature is enabled, upon registration, user will need to activate by confirming email. A 6-digit codes will be sent to user registered email. To complete registration, user needs to input the code to confirm login.
To enable or disable, go to app/Config/App.php $actions:
- to disable use 'register' => null, or
- to enable use the provided 'register' => \CodeIgniter\Shield\Authentication\Actions\EmailActivator::class