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 2d25f35 commit 01e2934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend.php
Expand Up @@ -23,7 +23,7 @@
if(defined('GLOBAL_AUTH_KEY')) {
$pw = isset($_COOKIES['InfoLogAuthKey']) ? (string)$_COOKIES['InfoLogAuthKey'] : '';
if(crypt($pw, GLOBAL_AUTH_KEY) !== GLOBAL_AUTH_KEY) {
throw Exception("Authentication failed.");
throw new Exception("Authentication failed.");
}
}

Expand Down

0 comments on commit 01e2934

Please sign in to comment.