xelax90/zf-user-forgot-password
Composer 安装命令:
composer require xelax90/zf-user-forgot-password
包简介
Password recovery system based on xelax90/zf-user-notification
README 文档
README
This module provides a simple password recovery system based on xelax90/zf-user-notificaiton
Installation
Installation of XelaxUserForgotPassword uses composer. For composer documentation, please refer to getcomposer.org.
composer require xelax90/zf-user-forgot-password
Then add XelaxUserForgotPassword to your config/application.config.php and run
the doctrine schema update to create the database table:
php vendor/bin/doctrine-module orm:schema-tool:update --force
Now copy the provided configuration files
vendor/xelax90/zf-user-forgot-password/config/xelax-user-forgot-password.global.php and
vendor/xelax90/zf-user-forgot-password/config/xelax-user-forgot-password.local.php.dist
into your config/autoload directory. Also make another copy of the
xelax-user-forgot-password.local.php.dist file without the .dist extension.
Configuration
E-Mail Templates
You can overwrite the localized e-mail templates by providing a viewScript for xelax-user-forgot-password/email/$LANGUAGE/$NOTIFICATION/$TEMPLATE. You can find the pre-defined ones in the view folder.
Request Lifetime
You can configure the request lifetime in the global configuration with the
request_lifetime key. The passed value must either be a DateInterval object or
an interval specification for its constructor
(see DateInterval::__construct).
It defaults to one day.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPLv2
- 更新时间: 2017-01-15