From f5d5c8578acb742493253ef1edab7df7d39832ee Mon Sep 17 00:00:00 2001 From: Davide Aprea <davide@suma-ev.de> Date: Fri, 29 Jan 2021 14:20:54 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- app/Models/Key.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Key.php b/app/Models/Key.php index 9df04b592..15648bb8a 100644 --- a/app/Models/Key.php +++ b/app/Models/Key.php @@ -34,7 +34,7 @@ class Key public function updateStatus() { - $authKey = base64_encode(getenv("KEY_USER") . ':' . getenv("KEY_PASSWORD")); + $authKey = base64_encode(env("KEY_USER", "test") . ':' . env("KEY_PASSWORD", "test")); $opts = array( 'http' => array( -- GitLab