Project

General

Profile

Actions

Defect #3330

closed

Redmine.pm broken

Added by Franck Zoccolo almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Permissions and roles
Target version:
-
Start date:
2009-05-10
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

r2726 breaks Apache authentication using Redmine.pm.


Related issues

Related to Redmine - Defect #3340: Redmine.pm doesn't workClosed2009-05-11

Actions
Actions #1

Updated by Tim Klein almost 15 years ago

temp fix:

change line 147 -> 162 to:

sub RedmineDSN { 
  my ($self, $parms, $arg) = @_;
  $self->{RedmineDSN} = $arg;
  my $query = "SELECT 
                 hashed_password, auth_source_id, permissions
              FROM members, projects, users, roles, member_roles
              WHERE 
                projects.id=members.project_id
        AND member_roles.member_id=members.id
                AND users.id=members.user_id 
                AND roles.id=member_roles.role_id
                AND users.status=1 
                AND login=? 
                AND identifier=? ";
  $self->{RedmineQuery} = trim($query);
}
Actions #2

Updated by Geordee Naliyath almost 15 years ago

And restart Apache.

Actions #3

Updated by Igor Olemskoi (Southbridge) almost 15 years ago

Thank you very much! :-)

Actions #4

Updated by Jean-Philippe Lang almost 15 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fix committed in r2732. Thanks.

Actions

Also available in: Atom PDF