{"action":"closed","issue":{"url":"https://api.github.com/repos/e107inc/e107/issues/2083","repository_url":"https://api.github.com/repos/e107inc/e107","labels_url":"https://api.github.com/repos/e107inc/e107/issues/2083/labels{/name}","comments_url":"https://api.github.com/repos/e107inc/e107/issues/2083/comments","events_url":"https://api.github.com/repos/e107inc/e107/issues/2083/events","html_url":"https://github.com/e107inc/e107/issues/2083","id":192582512,"number":2083,"title":"'user_xup_login' event is not triggered?","user":{"login":"lonalore","id":6043821,"avatar_url":"https://avatars.githubusercontent.com/u/6043821?v=3","gravatar_id":"","url":"https://api.github.com/users/lonalore","html_url":"https://github.com/lonalore","followers_url":"https://api.github.com/users/lonalore/followers","following_url":"https://api.github.com/users/lonalore/following{/other_user}","gists_url":"https://api.github.com/users/lonalore/gists{/gist_id}","starred_url":"https://api.github.com/users/lonalore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lonalore/subscriptions","organizations_url":"https://api.github.com/users/lonalore/orgs","repos_url":"https://api.github.com/users/lonalore/repos","events_url":"https://api.github.com/users/lonalore/events{/privacy}","received_events_url":"https://api.github.com/users/lonalore/received_events","type":"User","site_admin":false},"labels":[{"id":19517346,"url":"https://api.github.com/repos/e107inc/e107/labels/bug","name":"bug","color":"fc2929","default":true},{"id":19517348,"url":"https://api.github.com/repos/e107inc/e107/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-30T14:41:15Z","updated_at":"2016-12-02T03:10:16Z","closed_at":"2016-12-02T03:10:16Z","body":"I use Github authentication on my website, and I want to store/update Access Token when a user logs in... but 'user_xup_login' event is not triggered. :/\r\n\r\nI use the new `e_event.php` addon file for registering my event callback functions (other events are triggered, so the addon file works properly):\r\n```php\r\nclass PLUGIN_event\r\n{\r\n\r\n\tfunction config()\r\n\t{\r\n\t\t$event = array();\r\n\r\n\t\t$event[] = array(\r\n\t\t\t'name'     => 'user_xup_login',\r\n\t\t\t'function' => 'PLUGIN_user_login_callback',\r\n\t\t);\r\n\r\n\t\treturn $event;\r\n\t}\r\n\r\n\tfunction PLUGIN_user_login_callback($data)\r\n\t{\r\n\t\te107::getLog()->add('XUP_LOGIN', (array) $data);\r\n\t}\r\n}\r\n```"}}
{"actor":{"display_login":"CaMer0n"}}