hrevert/ht-user-registration

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

0.0.3 2014-11-29 16:06 UTC

This package is auto-updated.

Last update: 2024-04-13 02:03:51 UTC


README

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