mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-11 19:53:07 +00:00
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:
parent
81baddad00
commit
5bea900443
@ -302,6 +302,9 @@ sub is_member {
|
||||
|
||||
my $cfg = Apache2::Module::get_config(__PACKAGE__, $r->server, $r->per_dir_config);
|
||||
my $usrprojpass;
|
||||
unless ($project_id) {
|
||||
print $r->location."\n";
|
||||
}
|
||||
if ($cfg->{RedmineMemcache}) {
|
||||
$usrprojpass = $cfg->{RedmineMemcached}->get($redmine_user.":".$project_id);
|
||||
return 1 if (defined $usrprojpass and ($usrprojpass eq $pass_digest));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user