init
This commit is contained in:
23
Config/config.php
Normal file
23
Config/config.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
use PragmaRX\Google2FA\Support\Constants;
|
||||
|
||||
return [
|
||||
'name' => 'Google2FA',
|
||||
|
||||
/**
|
||||
* 生成的密钥长度
|
||||
*/
|
||||
'key_length' => 32,
|
||||
|
||||
/**
|
||||
* 密钥默认加密方式
|
||||
*/
|
||||
'algorithm' => Constants::SHA1,
|
||||
|
||||
/**
|
||||
* 密钥再生间隔
|
||||
*/
|
||||
'key_interval' => 30
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user