[FIXED] Header name of plugin HttpAuthLogin


(Clément OUDOT) #1

Hi all,

first, I would like to add a comment to your trac on ticket dev.piwik.org/trac/ticket/514, but after registration and login, I don’t have permission to do it. I cannot create a ticket too.

So I post a message on this forum, related to plugon HttpAuthLogin. I am developper of a WebSSO free software called LemonLDAP::NG (lemonldap.ow2.org). The WebSSO send headers to application to inform them of authenticated user.

I use the HttpAuthLogin plugin, but the header that is read is “PHP_AUTH_USER”, and we send “HTTP_AUTH_USER”. It would be nice to have a configuration way to set the header name.

Thanks for your attention and help.

Clément.


(Matthieu Aubry) #2

can youple as provide a patch so that the code reads both? Thanks. You should be able to login to trac now, if not please let us know