From f632bf2de5a0a45f9bcefdb88d0a0ac604b341ed Mon Sep 17 00:00:00 2001 From: "Marcel Kapfer (mmk2410)" Date: Fri, 22 Apr 2016 18:20:40 +0200 Subject: [PATCH] Remove Debug Outputs --- rcc/api/auth/auth.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/rcc/api/auth/auth.php b/rcc/api/auth/auth.php index 9c3b5df..f02646e 100644 --- a/rcc/api/auth/auth.php +++ b/rcc/api/auth/auth.php @@ -25,7 +25,6 @@ if (empty($_SERVER['PHP_AUTH_DIGEST'])) { // analyze the PHP_AUTH_DIGEST variable if (!($data = DigestAuth::httpDigestParse($_SERVER['PHP_AUTH_DIGEST'])) || !isset($users[$data['username']])) { - var_dump($_SERVER["PHP_AUTH_DIGEST"]); die('Wrong Credentials!'); } @@ -36,6 +35,5 @@ $A2 = md5($_SERVER['REQUEST_METHOD'].':'.$data['uri']); $valid_response = md5($A1.':'.$data['nonce'].':'.$data['nc'].':'.$data['cnonce'].':'.$data['qop'].':'.$A2); if ($data['response'] != $valid_response) { - var_dump($_SERVER["PHP_AUTH_PW"]); die('Wrong Credentials!'); }