Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003214Piwigoauthenticationpublic2015.03.25 21:032015.03.25 21:03
Reporterknueppel 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSDebianOS Version7
Product Version2.7.4 
Target VersionFixed in Version 
Summary0003214: Passing Http Basic Auth Credentials
DescriptionSimilar 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.
TagsNo tags attached.
browserany
Database engine and version
PHP version5.4.39-0+deb7u1
Web servernginx 1.6.2 with nginx-auth-ldap
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015.03.25 21:03 knueppel New Issue


Copyright © 2000 - 2017 MantisBT Team
Contact
Powered by Mantis Bugtracker