Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.10
-
Component/s: Calendar
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_310_STABLE
-
Fixed Branches:MOODLE_38_STABLE, MOODLE_39_STABLE
-
Pull from Repository:
-
Pull 3.5 Branch:
MDL-69910-calendar-protectusername-MOODLE_35_STABLE -
Pull 3.8 Branch:
MDL-69910-calendar-protectusername-MOODLE_38_STABLE -
Pull 3.9 Branch:
MDL-69910-calendar-protectusername-MOODLE_39_STABLE -
Pull 3.10 Branch:
MDL-69910-calendar-protectusername-MOODLE_310_STABLE -
Pull Master Branch:
MDL-69910-calendar-protectusername
Description
Since MDL-68845 in 3.10 you can now determine if an account exists even if $CFG->protectusernames is set.
All you need is the valid user id of any unrelated account, it doesn't matter which, and almost all sites have an admin account with id = 2 which is enough, then compare a valid account and invalid account:
http://moodle.local/calendar/export_execute.php?authtoken=x&userid=2&username=brendan
Invalid authentication
http://moodle.local/calendar/export_execute.php?authtoken=x&userid=2&username=brendancrap
Exception - Argument 1 passed to calendar_get_export_token() must be an instance of stdClass, boolean given, called in [dirroot]/calendar/export_execute.php on line 29
Attachments
Issue Links
- is a regression caused by
-
MDL-68845 Create new Web Service for retrieving the user calendar via iCal
-
- Closed
-