We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24e2f46 commit 928ac47Copy full SHA for 928ac47
extra/svn/Redmine.pm
@@ -332,8 +332,10 @@ sub access_handler {
332
333
my $project_id = get_project_identifier($r);
334
335
- $r->set_handlers(PerlAuthenHandler => [\&OK])
336
- 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("");
337
+ $r->set_handlers(PerlAuthenHandler => [\&OK]);
338
+ }
339
340
return OK
341
}
0 commit comments