projects
/
pr0n
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
54772c9
)
Remove some unneeded parameters from check_401.
author
Steinar H. Gunderson
<sesse@debian.org>
Tue, 30 Jun 2009 11:38:58 +0000
(13:38 +0200)
committer
Steinar H. Gunderson
<sesse@debian.org>
Tue, 30 Jun 2009 11:38:58 +0000
(13:38 +0200)
perl/Sesse/pr0n/Common.pm
patch
|
blob
|
history
diff --git
a/perl/Sesse/pr0n/Common.pm
b/perl/Sesse/pr0n/Common.pm
index 4a552c4c7f9b5b793fdd59ad37ee6f0a76d8c200..60e9469d57e7ece412f228cd49f7fc61b6df3f0b 100644
(file)
--- a/
perl/Sesse/pr0n/Common.pm
+++ b/
perl/Sesse/pr0n/Common.pm
@@
-319,7
+319,7
@@
sub check_access {
my $auth = $r->headers_in->{'authorization'};
if (!defined($auth)) {
- output_401($r
, 0
);
+ output_401($r);
return undef;
}
$r->log->warn("Auth: $auth");
@@
-329,7
+329,7
@@
sub check_access {
if ($auth =~ /^Digest (.*)$/) {
return check_digest_auth($r, $1);
}
- output_401($r
, 0
);
+ output_401($r);
return undef;
}