Trying to avoid database clashes

This commit is contained in:
moodler 2003-10-26 16:08:31 +00:00
parent cf2db3ab76
commit 953c64fe93

View File

@ -27,6 +27,8 @@ function auth_user_login ($username, $password) {
$rs = $authdb->Execute("SELECT * FROM $CFG->auth_dbtable
WHERE $CFG->auth_dbfielduser = '$username'
AND $CFG->auth_dbfieldpass = '$password' ");
$authdb->Close();
if (!$rs) {
notify("Could not connect to the specified authentication database...");
return false;