Defect #14446 ยป catch_empty_auth_fields.patch
| trunk/extra/svn/Redmine.pm (working copy) | ||
|---|---|---|
|
my ($res, $redmine_pass) = $r->get_basic_auth_pw();
|
||
|
return $res unless $res == OK;
|
||
|
|
||
|
unless ($r->user and $redmine_pass) {
|
||
|
$r->note_basic_auth_failure();
|
||
|
return AUTH_REQUIRED;
|
||
|
}
|
||
|
if (is_member($r->user, $redmine_pass, $r)) {
|
||
|
return OK;
|
||