stijnhau / user-registration
此包已被废弃,不再维护。未建议替代包。
一个扩展 ZfcUser 注册功能的 Zend Framework 3 模块,增加了电子邮件地址验证功能
dev-master
2017-06-18 12:11 UTC
Requires
- php: >=5.6
- zendframework/zend-mail: >2.4.0
- zf-commons/zfc-user: >=3.0.0
Requires (Dev)
- phpunit/phpunit: >4.7.0
This package is not auto-updated.
Last update: 2021-07-24 00:26:42 UTC
README
安装
- 将
"stijnhau/user-registration": "0.0.*"
添加到您的 composer.json 中,然后运行php composer.phar update
- 在
config/application.config.php
中启用此模块 - 将位于
vendor/stijnhau/user-registration/config/user-registration.global.php
的文件复制到./config/autoload/user-registration.global.php
,并根据需要更改值。
注意
如果您不希望未经验证的用户登录,此模块还包含一个认证适配器。
return [ 'zfcuser' => [ 'auth_adapters' => [80 => 'UserRegistration\Authentication\Adapter\EmailVerification'] ] ];