Created
April 28, 2025 15:37
-
-
Save JayGreentree/e329a4b21fef0a320fc19cffb8e3492a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
'*' => [ | |
'enabled' => false, | |
'enableCpProtection' => false, | |
'loginPath' => 'restricted-access', | |
'template' => '_knock-knock.twig', | |
'siteSettings' => [], | |
'checkInvalidLogins' => false, | |
'invalidLoginWindowDuration' => '3600', | |
'maxInvalidLogins' => 3, | |
'allowIps' => ['', '127.0.0.1'], | |
'denyIps' => [], | |
'useRemoteIp' => true, | |
'protectedUrls' => [], | |
'unprotectedUrls' => [''], | |
], | |
/*'production' => [ | |
'enabled' => true, | |
'password' => getenv('SITE_PASSWORD'), | |
],*/ | |
'staging' => [ | |
'enabled' => true, | |
'password' => getenv('SITE_PASSWORD'), | |
], | |
'dev' => [ | |
'enabled' => false, | |
'password' => getenv('SITE_PASSWORD'), | |
] | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment