Skip to content

A Zend Framework 2 module which extends the registration feature of ZfcUser with email address verification

License

Notifications You must be signed in to change notification settings

krupnovdenis/HtUserRegistration

 
 

Repository files navigation

HtUserRegistration

Master Branch Build Status Latest Stable Version Latest Unstable Version Total Downloads Scrutinizer Code Quality Code Coverage

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 run php 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']
    ]
];

About

A Zend Framework 2 module which extends the registration feature of ZfcUser with email address verification

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.3%
  • HTML 1.7%