This page is part of the BugReports series. Please go there to submit a new bug or to see the list of all existing reports.


tools authentication failing

ewiki version R1.02a
operating system Linux
bug category auth plugin
status frozen

anonymous: authentication using fragments/funcs/auth.php is failing - when I enter a valid username/password, it just keeps reprompting me for them

what could be causing this?

mario: No idea, you'll have to track doen, if the $passwords[] array got somehow cleared before the actual check. Insert a print_f($passwords) into the tool script you tried to use, just to be sure, AND JUST FOR TESTING (=remove it again)!

The recent tools, try to merge an existing "passwords[]" array in, but maybe this code is somehow broken in a few versions(?) and so deleted previous entries. It should however work, if you set the $passwords array directly in the fragments/funcs/auth.php script. Take care of upper/lowercase, and the md5sums or crypt code is not well-tested (at least I don't use it on all too many installations).

bottom corner