Similar to #0001501: Using nginx with nginx-auth-ldap module (https://github.com/kvspb/nginx-auth-ldap), piwigo doesn't log in the user, because http auth credentials won't be passed correctly.
Changing Line 50 in user.inc.php from
foreach (array('REMOTE_USER', 'REDIRECT_REMOTE_USER') as $server_key)
to
foreach (array('REMOTE_USER', 'REDIRECT_REMOTE_USER', 'PHP_AUTH_USER') as $server_key)
**Reported by knueppel on 25 Mar 2015 20:03**
**Version:** 2.7.4
Similar to #0001501: Using nginx with nginx-auth-ldap module (https://github.com/kvspb/nginx-auth-ldap), piwigo doesn't log in the user, because http auth credentials won't be passed correctly.
Changing Line 50 in user.inc.php from
foreach (array('REMOTE_USER', 'REDIRECT_REMOTE_USER') as $server_key)
to
foreach (array('REMOTE_USER', 'REDIRECT_REMOTE_USER', 'PHP_AUTH_USER') as $server_key)
perfectly solves this issue.
[Piwigo Bugtracker #3214](http://piwigo.org/bugs/view.php?id=3214)
<!-- github-sync-id:97252320 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Reported by knueppel on 25 Mar 2015 20:03
Version: 2.7.4
Similar to #0001501: Using nginx with nginx-auth-ldap module (https://github.com/kvspb/nginx-auth-ldap), piwigo doesn't log in the user, because http auth credentials won't be passed correctly.
Changing Line 50 in user.inc.php from
foreach (array('REMOTE_USER', 'REDIRECT_REMOTE_USER') as $server_key)
to
foreach (array('REMOTE_USER', 'REDIRECT_REMOTE_USER', 'PHP_AUTH_USER') as $server_key)
perfectly solves this issue.
Piwigo Bugtracker #3214