-
Bug
-
Resolution: Fixed
-
Critical
-
3.3
-
MOODLE_33_STABLE
-
MOODLE_33_STABLE
-
MDL-58774-master -
Discovered while testing MDLQA-10978
I've created an oauth user with email user@gmail.com, and I've later linked that same user@gmail.com account to another site user. When I log into the site using user@gmail.com google account I see the following debugging message:
Error: mdb->get_record() found more than one record!
|
line 1570 of /lib/dml/moodle_database.php: call to debugging()
|
line 1530 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
|
line 1509 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
|
line 832 of /lib/classes/persistent.php: call to moodle_database->get_record()
|
line 79 of /auth/oauth2/classes/api.php: call to core\persistent::get_record()
|
line 397 of /auth/oauth2/classes/auth.php: call to auth_oauth2\api::match_username_to_user()
|
line 45 of /auth/oauth2/login.php: call to auth_oauth2\auth->complete_login()
|
- blocks
-
MDLQA-10978 An admin can enable users to authenticate with their Google account
- Passed