{"action":"created","issue":{"url":"https://api.github.com/repos/dektrium/yii2-user/issues/500","labels_url":"https://api.github.com/repos/dektrium/yii2-user/issues/500/labels{/name}","comments_url":"https://api.github.com/repos/dektrium/yii2-user/issues/500/comments","events_url":"https://api.github.com/repos/dektrium/yii2-user/issues/500/events","html_url":"https://github.com/dektrium/yii2-user/pull/500","id":110848824,"number":500,"title":"Develop","user":{"login":"SimonSoftware","id":6181879,"avatar_url":"https://avatars.githubusercontent.com/u/6181879?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonSoftware","html_url":"https://github.com/SimonSoftware","followers_url":"https://api.github.com/users/SimonSoftware/followers","following_url":"https://api.github.com/users/SimonSoftware/following{/other_user}","gists_url":"https://api.github.com/users/SimonSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSoftware/subscriptions","organizations_url":"https://api.github.com/users/SimonSoftware/orgs","repos_url":"https://api.github.com/users/SimonSoftware/repos","events_url":"https://api.github.com/users/SimonSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSoftware/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-11T10:54:02Z","updated_at":"2015-10-12T14:57:13Z","closed_at":"2015-10-12T14:38:35Z","pull_request":{"url":"https://api.github.com/repos/dektrium/yii2-user/pulls/500","html_url":"https://github.com/dektrium/yii2-user/pull/500","diff_url":"https://github.com/dektrium/yii2-user/pull/500.diff","patch_url":"https://github.com/dektrium/yii2-user/pull/500.patch"},"body":"On User::register() function the line  \r\n```php\r\n$this->mailer->sendWelcomeMessage($this, isset($token) ? $token : null);\r\n```\r\ndon't send the token on registration even the $token exist.\r\nMust be set simply:\r\n```php\r\n$this->mailer->sendWelcomeMessage($this, $token);\r\n```\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dektrium/yii2-user/issues/comments/147423963","html_url":"https://github.com/dektrium/yii2-user/pull/500#issuecomment-147423963","issue_url":"https://api.github.com/repos/dektrium/yii2-user/issues/500","id":147423963,"user":{"login":"SimonSoftware","id":6181879,"avatar_url":"https://avatars.githubusercontent.com/u/6181879?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonSoftware","html_url":"https://github.com/SimonSoftware","followers_url":"https://api.github.com/users/SimonSoftware/followers","following_url":"https://api.github.com/users/SimonSoftware/following{/other_user}","gists_url":"https://api.github.com/users/SimonSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSoftware/subscriptions","organizations_url":"https://api.github.com/users/SimonSoftware/orgs","repos_url":"https://api.github.com/users/SimonSoftware/repos","events_url":"https://api.github.com/users/SimonSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSoftware/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T14:57:13Z","updated_at":"2015-10-12T14:57:13Z","body":"But otherwise i receive the welcome message without token inside if conformazione di enabled.\nIl 12/ott/2015 16:38, Dmitry Erofeev <notifications@github.com> ha scritto:Closed #500.\r\n\r\n—Reply to this email directly or view it on GitHub."}}