##// END OF EJS Templates
replace tabs to spaces at Redmine.pm...
Toshi MARUYAMA -
r10819:16bddb9d2496
parent child
Show More
@@ -388,9 +388,9 sub is_public_project {
388 388 $sth->execute($project_id);
389 389 my $ret = 0;
390 390 if (my @row = $sth->fetchrow_array) {
391 if ($row[0] eq "1" || $row[0] eq "t") {
392 $ret = 1;
393 }
391 if ($row[0] eq "1" || $row[0] eq "t") {
392 $ret = 1;
393 }
394 394 }
395 395 $sth->finish();
396 396 undef $sth;
@@ -467,9 +467,9 sub is_member {
467 467 }
468 468
469 469 unless ($auth_source_id) {
470 my $method = $r->method;
470 my $method = $r->method;
471 471 my $salted_password = Digest::SHA::sha1_hex($salt.$pass_digest);
472 if ($hashed_password eq $salted_password && (($access_mode eq "R" && $permissions =~ /:browse_repository/) || $permissions =~ /:commit_access/) ) {
472 if ($hashed_password eq $salted_password && (($access_mode eq "R" && $permissions =~ /:browse_repository/) || $permissions =~ /:commit_access/) ) {
473 473 $ret = 1;
474 474 last;
475 475 }
General Comments 0
You need to be logged in to leave comments. Login now