ソースを参照

Merged r14883 (#16948).

git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14915 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.0.7
Jean-Philippe Lang 8年前
コミット
3228ce35e1
1個のファイルの変更4行の追加2行の削除
  1. 4
    2
      extra/svn/Redmine.pm

+ 4
- 2
extra/svn/Redmine.pm ファイルの表示

@@ -332,8 +332,10 @@ sub access_handler {

my $project_id = get_project_identifier($r);

$r->set_handlers(PerlAuthenHandler => [\&OK])
if is_public_project($project_id, $r) && anonymous_allowed_to_browse_repository($project_id, $r);
if (is_public_project($project_id, $r) && anonymous_allowed_to_browse_repository($project_id, $r)) {
$r->user("");
$r->set_handlers(PerlAuthenHandler => [\&OK]);
}

return OK
}

読み込み中…
キャンセル
保存