hrevert / ht-user-registration
A Zend Framework 2 module which extends the registration feature of ZfcUser with email address verification
Installs: 4 800
Dependents: 3
Suggesters: 0
Security: 0
Stars: 14
Watchers: 3
Forks: 12
Open Issues: 3
Requires
- php: >=5.4
- mtymek/mt-mail: <1.2.0
- zf-commons/zfc-user: >=0.1,<2.0
Requires (Dev)
- phpunit/phpunit: 4.2.*
This package is auto-updated.
Last update: 2024-11-13 03:22:34 UTC
README
A Zend Framework 2 module which extends the registration feature of ZfcUser. When public registration is enabled, it provides email address verfication feature and when public registration is disabled, it sends email to the user`s email address with a link to set their account password.
Installation
- Add
"hrevert/ht-user-registration": "0.0.*"
, to your composer.json and runphp composer.phar update
- Enable this module in
config/application.config.php
- Copy file located in
vendor/hrevert/ht-user-registration/config/ht-user-registration.global.php
to./config/autoload/ht-user-registration.global.php
and change the values as you wish. - Also, configure MtMail as stated in the docs.
Note
If you do not want unverified users to log in, this module also ships with a authentication adapter.
return [ 'zfcuser' => [ 'auth_adapters' => [80 => 'HtUserRegistration\Authentication\Adapter\EmailVerification'] ] ];