1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/asundust-auth-captcha

Клонировать/Скачать
README.en.md 1.5 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
asundust Отправлено 11.02.2023 17:50 266f0b6

Sliding captcha for Laravel-Admin auth, Multiple platform support

Sliding captcha for Laravel-Admin auth, Multiple platform support

For more details, please read README.md

Screen Shot

img

Installation

composer require asundust/auth-captcha

Configuration

  • In the extensions section of the config/admin.php file, add configurations
'extensions' => [
    'auth-captcha' => [
        // set to false if you want to disable this extension
        'enable' => true,
        'provider' => 'xxxxxx',
        // style of captcha
        'style' => 'xxxxxx',
        // configuration
        'appid' => env('AUTH_CAPTCHA_APPID'),
        'secret' => env('AUTH_CAPTCHA_SECRET'),
        'secret_key' => env('AUTH_CAPTCHA_SECRET_KEY'),
        'ext_config' => [],
    ],
]
  • In the .env file, add configurations
AUTH_CAPTCHA_APPID=xxxxxx
AUTH_CAPTCHA_SECRET=xxxxxx
  • In the resources/lang/zh-CN(example).json file, add configurations
"Sliding validation failed. Please try again.": "滑动验证未通过,请重试。",
"Please complete the validation.": "请完成验证。",
"Config Error.": "配置错误。"

Usage

Open your login page in your browser

Notices for upgrading

UPGRADE.md

Change Log

CHANGE_LOG.md

License

The MIT License (MIT)

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/asundust-auth-captcha.git
git@api.gitlife.ru:oschina-mirror/asundust-auth-captcha.git
oschina-mirror
asundust-auth-captcha
asundust-auth-captcha
master