yljphp / google-authenticator-1

Google 动态验证

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google 两步登陆验证

laravel-admin 后台验证插件

  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;

About

Google 动态验证

License:MIT License


Languages

Language:PHP 56.0%Language:HTML 44.0%