Commit 5387e07b authored by jplang's avatar jplang

Only select actual users from the database in Redmine.pm (#21312).

Patch by Holger Just.

git-svn-id: https://svn.redmine.org/redmine/trunk@14892 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent ab892dcc
......@@ -244,6 +244,7 @@ sub RedmineDSN {
WHERE
users.login=?
AND projects.identifier=?
AND users.type='User'
AND users.status=1
AND (
roles.id IN (SELECT member_roles.role_id FROM members, member_roles WHERE members.user_id = users.id AND members.project_id = projects.id AND members.id = member_roles.member_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment