roadiz/two-factor-bundle
最新稳定版本:v2.6.26
Composer 安装命令:
composer require roadiz/two-factor-bundle
包简介
Provides two-factor authentication system for Roadiz CMS
README 文档
README
This bundle provides a two-factor authentication system for Roadiz CMS. Based on scheb/two-factor-bundle bundle.
- OTP (One Time Password) authentication with Google Authenticator
- Backup codes (hashed and stored in database)
- Trusted devices (remembered for a configurable amount of time)
- Use
APP_NAMESPACE,APP_TITLEandAPP_SECRETenvironment variables
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
$ composer require roadiz/two-factor-bundle
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require roadiz/two-factor-bundle
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php file of your project:
// config/bundles.php return [ // ... \RZ\Roadiz\TwoFactorBundle\RoadizTwoFactorBundle::class => ['all' => true], ];
Configuration
- Copy and merge
@RoadizTwoFactor/config/packages/scheb_2fa.yamlfiles into your projectconfig/packagesfolder - Add this bundle routes to your project
config/routes.yamlfile:
# config/routes.yaml roadiz_two_factor: resource: "@RoadizTwoFactorBundle/config/routing.yaml"
Contributing
Report issues and send Pull Requests in the main Roadiz repository
统计信息
- 总下载量: 204
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-12