MDL-17754 next round of session related refactoring

This commit is contained in:
skodak 2009-01-02 20:32:05 +00:00
parent 6c928b4cfe
commit b7b64ff2e0
13 changed files with 105 additions and 80 deletions

View file

@ -1835,7 +1835,7 @@ class auth_plugin_ldap extends auth_plugin_base {
if ($user) {
add_to_log(SITEID, 'user', 'login', "view.php?id=$USER->id&course=".SITEID,
$user->id, 0, $user->id);
$USER = complete_user_login($user);
complete_user_login($user);
// Cleanup the key to prevent reuse...
// and to allow re-logins with normal credentials