mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 11:46:19 +01:00
1e6a7b2b63
This handles things like site policies, which store the current URL, redirect to the policy agreement, then redirect back the current URL afterwards. In such cases, we want to redirect back with 'launchid' set so that we can fetch the id_token from the session cache. This is the same thing we already do during account binding, so the patch only makes sure the PAGE->url is properly set before calling require_login.