Remove Debug Outputs

This commit is contained in:
Marcel Kapfer (mmk2410) 2016-04-22 18:20:40 +02:00
parent e0dc2622c2
commit f632bf2de5
1 changed files with 0 additions and 2 deletions

View File

@ -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!');
}