Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c8ac480979
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (14 sloc) 0.666 kb
This files describes API changes in /auth/* - plugins,
information provided here is intended especially for developers.
=== 2.4 ===
required changes in code:
* use role_get_name() or role_fix_names() if you need any role names, using role.name
directly from database is not correct any more
optional - no changes needed:
* add support for custom user signup form - see auth_plugin_base::signup_form() function
=== 2.2 ===
required changes in code:
* the correct sequence to set up global $USER is:
$user = get_complete_user_data('username', $username); // or $user = authenticate_user_login()
enrol_check_plugins($user);
session_set_user($user);
Jump to Line
Something went wrong with that request. Please try again.