yljphp/google-authenticator

谷歌两步验证码

1.0.4 2022-09-16 04:31 UTC

This package is auto-updated.

Last update: 2024-09-16 09:14:51 UTC


README

laravel-admin 后台验证插件

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

composer require yljphp/google-authenticator

php artisan migrate

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

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