@@ -332,8 +332,10 sub access_handler { | |||
|
332 | 332 | |
|
333 | 333 | my $project_id = get_project_identifier($r); |
|
334 | 334 | |
|
335 | $r->set_handlers(PerlAuthenHandler => [\&OK]) | |
|
336 | if is_public_project($project_id, $r) && anonymous_allowed_to_browse_repository($project_id, $r); | |
|
335 | if (is_public_project($project_id, $r) && anonymous_allowed_to_browse_repository($project_id, $r)) { | |
|
336 | $r->user(""); | |
|
337 | $r->set_handlers(PerlAuthenHandler => [\&OK]); | |
|
338 | } | |
|
337 | 339 | |
|
338 | 340 | return OK |
|
339 | 341 | } |
General Comments 0
You need to be logged in to leave comments.
Login now