Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.9.3, 3.10
-
Component/s: Authentication
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_310_STABLE, MOODLE_39_STABLE
-
Fixed Branches:MOODLE_310_STABLE, MOODLE_39_STABLE
-
Pull from Repository:
-
Pull 3.9 Branch:
MDL-70242-39 -
Pull 3.9 Diff URL:
-
Pull 3.10 Branch:
MDL-70242-310 -
Pull 3.10 Diff URL:
-
Pull Master Branch:
MDL-70242-master -
Pull Master Diff URL:
Description
- Create an event listener to the user_created event that sends an email using email_to_user() function
- Set up oAuth2 login
- Login as a new user
- You will see debugging messages that the page context is not set, etc.
email_to_user() expects the page context and url to be set but the auth/oauth2/login.php page does not set them. Normally it immediately redirects and it is not important, however the event observers may experience problems