1 This files describes API changes in /auth/* - plugins,
2 information provided here is intended especially for developers.
7 required changes in code:
8 * use role_get_name() or role_fix_names() if you need any role names, using role.name
9 directly from database is not correct any more
11 optional - no changes needed:
12 * add support for custom user signup form - see auth_plugin_base::signup_form() function
16 required changes in code:
17 * the correct sequence to set up global $USER is:
18 $user = get_complete_user_data('username', $username); // or $user = authenticate_user_login()
19 enrol_check_plugins($user);
20 session_set_user($user);