mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Trying to avoid database clashes
This commit is contained in:
parent
cf2db3ab76
commit
953c64fe93
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user