-
Bug
-
Resolution: Fixed
-
Minor
-
3.10
-
MOODLE_310_STABLE
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
MDL-69910-calendar-protectusername -
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
- is a regression caused by
-
MDL-68845 Create new Web Service for retrieving the user calendar via iCal
- Closed