luochaovg/laravel-admin-login-yzm

laravel-admin 登录验证码

dev-master 2019-10-29 01:59 UTC

This package is auto-updated.

Last update: 2021-12-29 03:10:54 UTC


README

======

Installation First, install dependencies:

composer require luochaovg/laravel-admin-login-yzm
composer require "earnp/laravel-google-authenticator:dev-master"
composer require simplesoftwareio/simple-qrcode 1.3.*

Configuration In the extensions section of the config/admin.php file, add some configuration that belongs to this extension.

 'extensions' => [
     'login-captcha' => [
         // set to false if you want to disable this extension
         'enable' => true,
     ]
 ]

修改中文

php artisan vendor:publish --tag=lang

输入框背景透明化

在config/admin.php 中添加

'background' => true,

注意事项

Version Laravel-Admin Version
^1.7.1 < 1.6.10
^1.8 >= 1.6.10

自己生成一个密码规则 google_secret is_swtch