Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.98 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.98 KB

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