1 This files describes API changes in /auth/* - plugins,
2 information provided here is intended especially for developers.
7 required changes in code:
8 * the correct sequence to set up global $USER is:
9 $user = get_complete_user_data('username', $username); // or $user = authenticate_user_login()
10 enrol_check_plugins($user);
11 session_set_user($user);