This commit is contained in:
2022-12-02 11:52:48 +08:00
commit b134b73709
13 changed files with 587 additions and 0 deletions

23
Config/config.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
use PragmaRX\Google2FA\Support\Constants;
return [
'name' => 'Google2FA',
/**
* 生成的密钥长度
*/
'key_length' => 32,
/**
* 密钥默认加密方式
*/
'algorithm' => Constants::SHA1,
/**
* 密钥再生间隔
*/
'key_interval' => 30
];