Some debug added.
There is a bug - don't know if in Redmine.pm or in Netbeans svn client. In logs: Use of uninitialized value $project_id in concatenation (.) or string at /usr/lib/perl5/Apache/Authn/Redmine.pm line 306, .... git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/swistak@2049 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
81baddad00
commit
5bea900443
1 file changed
+3
@@ -302,6 +302,9 @@ sub is_member {
|
|||||||
|
|
||||||
my $cfg = Apache2::Module::get_config(__PACKAGE__, $r->server, $r->per_dir_config);
|
my $cfg = Apache2::Module::get_config(__PACKAGE__, $r->server, $r->per_dir_config);
|
||||||
my $usrprojpass;
|
my $usrprojpass;
|
||||||
|
unless ($project_id) {
|
||||||
|
print $r->location."\n";
|
||||||
|
}
|
||||||
if ($cfg->{RedmineMemcache}) {
|
if ($cfg->{RedmineMemcache}) {
|
||||||
$usrprojpass = $cfg->{RedmineMemcached}->get($redmine_user.":".$project_id);
|
$usrprojpass = $cfg->{RedmineMemcached}->get($redmine_user.":".$project_id);
|
||||||
return 1 if (defined $usrprojpass and ($usrprojpass eq $pass_digest));
|
return 1 if (defined $usrprojpass and ($usrprojpass eq $pass_digest));
|
||||||
|
|||||||
Reference in new issue
Block a user