Project

General

Profile

Defect #14446 ยป catch_empty_auth_fields.patch

Florian Schmidt, 2015-05-19 13:34

View differences:

trunk/extra/svn/Redmine.pm (working copy)
343 343

  
344 344
  my ($res, $redmine_pass) =  $r->get_basic_auth_pw();
345 345
  return $res unless $res == OK;
346
  
347
  unless ($r->user and $redmine_pass) {
348
    $r->note_basic_auth_failure();
349
    return AUTH_REQUIRED;
350
  }
346 351

  
347 352
  if (is_member($r->user, $redmine_pass, $r)) {
348 353
      return OK;
    (1-1/1)