Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
thejhh committed Jun 6, 2012
1 parent ec54dde commit 58d8f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend.php
Expand Up @@ -26,7 +26,7 @@
$pw = isset($_COOKIE['InfoLogAuthKey']) ? (string)$_COOKIE['InfoLogAuthKey'] : '';
if(crypt($pw, GLOBAL_AUTH_KEY) !== GLOBAL_AUTH_KEY) {
setcookie('InfoLogAuthKey', "", time() - 3600);
throw new Exception("Authentication failed: pw = " . $pw);
throw new Exception("Authentication failed: pw = '" . $pw . "'");
}
}

Expand Down

0 comments on commit 58d8f79

Please sign in to comment.