chencongbao/google-authenticator

Google 两步验证

安装: 20

依赖: 0

建议者: 0

安全: 0

类型:

dev-master 2022-10-29 02:25 UTC

This package is not auto-updated.

Last update: 2024-09-28 22:45:18 UTC


README

  1. 相对于验证码,安全性更高;几乎不存在被破解的方法
  2. 验证码有时无法识别,操作不方便
  3. 一机一码,不存在账号被盗用的问题
  4. 动态验证,每30秒生成一个验证码,安全性更有保障

composer require ghost/google-authenticator

php artisan migrate

'google-authenticator'=> [
    'enable' => true,
    'authenticatorname' => '' //名称 
],
namespace App\Admin\Controllers;

use Ghost\GoogleAuthenticator\Http\Controllers\AuthController as BaseAuthController;