Skip to content

Kev506/YOURLS-Cloudflare-Turnstile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

YOURLS-Cloudflare-Turnstile

Cloudflare Turnstile for YOURLS admin login.

Installation

  • Register on Cloudflare to use the Turnstile and obtain your site and secret key.
  • Download the cf-turnstile folder complete with plugin.php
  • Add the folder to the user/plugins directory.
  • In the users directory in config.php add the following.
    • define('CLOUDFLARE_SEC_KEY', 'your_cloudflare_secret_key')
    • define('CLOUDFLARE_SITE_KEY', 'your_cloudflare_site_key');
  • Go to the Plugins administration page and activate the plugin.
  • Tested successfully on YOURLS latest v1.10.0.

That's it, now logout refresh the page and the cloudflare turnstile is enabled.