Trying to set up external database enrollment

Trying to set up external database enrollment

by Jacob Yeager -
Number of replies: 1

I'm trying to set up external database enrollment on my Moodle install so that I can use some php scripts for handling user registration.  The database is populating correctly, but (with Debug ADOdb turned on), when I try to log in, I get this output: 

(mysqli): SELECT * FROM users WHERE username = '' AND password = 'd41d8cd98f00b204e9800998ecf8427e'

It seems that MD5 hash is equal to an empty string.  Any idea what this means?

Average of ratings: -
In reply to Jacob Yeager

Re: Trying to set up external database enrollment

by Jacob Yeager -

UPDATE: After some troubleshooting, I have found that Moodle is succeeding at connecting to and querying the database.  I made an entry in the database that contained an empty username string and an MD5 hash of an empty password string and Moodle logged in without a hitch.  For some reason, the external database authentication plugin is not receiving the username and password data from the login form.