burnbright/silverstripe-auth-username
Composer 安装命令:
composer require burnbright/silverstripe-auth-username
包简介
Adds username authentication and username or email login to a silverstripe install
README 文档
README
This module introduces username authentication to SilverStripe. It also provides additional functionality for retrieving usernames and password.
Set Up
Copy the module folder to your SilverStripe site's root directory.
The module's _config.php file automatically:
- adds the UsernameAuthenticator to the set of registered authenticators
- decorates Member with a 'Username' DB field, and functions for generating a username, and for generating a password
In your site _config.php optionally add either of the following:
Authenticator::set_default_authenticator("UsernameAuthenticator"); // makes username authentication default
Authenticator::unregister("MemberAuthenticator"); // removes default email + password authentication
统计信息
- 总下载量: 123
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-02-02