From 266b042cf14dd0b738ccb9222aa67449fb27652d Mon Sep 17 00:00:00 2001 From: Jan Henckens Date: Mon, 6 May 2024 19:57:47 +0200 Subject: [PATCH] getenv --- config/knock-knock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/knock-knock.php b/config/knock-knock.php index 9249b5fb..530a70ec 100644 --- a/config/knock-knock.php +++ b/config/knock-knock.php @@ -7,7 +7,7 @@ 'loginPath' => 'knock-knock/who-is-there', 'template' => '_site/_knock-knock', 'forcedRedirect' => '', - 'password' => get_class("KNOCK_KNOCK_PASSWORD"), + 'password' => getenv("KNOCK_KNOCK_PASSWORD"), 'siteSettings' => [], 'checkInvalidLogins' => false, 'invalidLoginWindowDuration' => '3600',