Commit 9ffa9978 authored by jonnybradley's avatar jonnybradley

[FIX] socialnetworks: Update last login when logging in via facebook

parent 7609a08b
......@@ -257,6 +257,7 @@ class SocialNetworksLib extends LogsLib
$userlib->update_expired_groups();
$this->set_user_preference($user, 'facebook_id', $fb_profile->id);
$this->set_user_preference($user, 'facebook_token', $access_token);
$userlib->update_lastlogin($user);
header('Location: tiki-index.php');
die;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment