chencongbao / google-authenticator
Google 两步验证码
dev-master
2022-10-29 02:25 UTC
Requires
- php: >=7.1.0
- encore/laravel-admin: ^1.6
- simplesoftwareio/simple-qrcode: ^2.0
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2024-11-09 23:23:24 UTC
README
- 相对于验证码,安全很多;几乎是不会存在破解的方法
- 验证码有时候无法识别,不方便操作
- 一机一码,不会存在账号盗用的问题
- 动态验证,每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;