Updated Mantis Basic Authentication Code

PHP Code

I've updated my post on Making Mantis with Basic Authentication Not Suck to fix an oversight I discovered in the original version.

Basically, direct links into Mantis would not work, since most of the Mantis pages redirect to the login page when a user has not yet authenticated. The modification was simply to modify the login page to detect basic authentication and redirect to the previously modified login script.

Tags:

Write a comment

  • Required fields are marked with *.

If you have trouble reading the code, click on the code itself to generate a new random code.
Security Code: