Skip to content

Commit

Permalink
revert Chrome auth test workaround (Chrome works again; broke IE7)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgreensp committed May 25, 2012
1 parent 8991c8b commit 0815cc1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/http/test_responder.js
Expand Up @@ -31,12 +31,6 @@ var respond = function(req, res) {
var validate = function(user, pass) {
return user === username && pass === password;
};
if (! req.headers.authorization) {
// fail faster if the client hasn't sent any auth at all
res.statusCode = 403; // forbidden, no browser prompt
res.end("no auth header");
return;
}
var checker = connect.basicAuth(validate, realm);
var success = false;
checker(req, res, function() {
Expand Down

0 comments on commit 0815cc1

Please sign in to comment.