mirasoft182/laravel-admin-google-authenticator

1.2 2022-09-01 12:08 UTC

This package is auto-updated.

Last update: 2024-09-29 05:57:13 UTC


README

安装

composer require mirasoft182/laravel-admin-google-authenticator

生成密钥

google_authenticator_secret=

php artisan google:secret

配置

'extensions' => [
	'admin-google-authenticator' => [
		'enable' => true,
		'secret' => env('google_authenticator_secret', ''),
	],
],

发布语言

php artisan vendor:publish --provider=LaravelAdminGoogleAuthenticator\GoogleAuthenticatorServiceProvider