Sakamoto's blog
  • Blog
  • About
Subscribe
Tagged

Laravel

A collection of 1 post

在Laravel 5.6 Auth 使用 reCAPTCHA
Laravel

在Laravel 5.6 Auth 使用 reCAPTCHA

使用 anhskohbo/no-captcha Installationcomposer require anhskohbo/no-captcha Setup在 app/config/app.php 新增 在 providers 新增Anhskohbo\NoCaptcha\NoCaptchaServiceProvider::class, 在 aliases 新增'NoCaptcha' => Anhskohbo\NoCaptcha\Facades\NoCaptcha::class, Publish the config filephp artisan vendor:publish --provider="Anhskohbo\NoCaptcha\NoCaptchaServiceProvider" Configuration新增 NOCAPTCHA_SECRET and NOCAPTCHA_SITEKEY 在 .env NOCAPTCHA_SECRET=secret-key

  • Sakamoto
Sakamoto Sep 29, 2018 • 1 min read
Sakamoto's blog © 2023
Powered by Ghost