{"action":"opened","issue":{"url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/336","repository_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate","labels_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/336/comments","events_url":"https://api.github.com/repos/rappasoft/laravel-5-boilerplate/issues/336/events","html_url":"https://github.com/rappasoft/laravel-5-boilerplate/issues/336","id":143498379,"number":336,"title":"resend confirmation email reveal secret token","user":{"login":"therezor","id":15324879,"avatar_url":"https://avatars.githubusercontent.com/u/15324879?v=3","gravatar_id":"","url":"https://api.github.com/users/therezor","html_url":"https://github.com/therezor","followers_url":"https://api.github.com/users/therezor/followers","following_url":"https://api.github.com/users/therezor/following{/other_user}","gists_url":"https://api.github.com/users/therezor/gists{/gist_id}","starred_url":"https://api.github.com/users/therezor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therezor/subscriptions","organizations_url":"https://api.github.com/users/therezor/orgs","repos_url":"https://api.github.com/users/therezor/repos","events_url":"https://api.github.com/users/therezor/events{/privacy}","received_events_url":"https://api.github.com/users/therezor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-25T13:31:54Z","updated_at":"2016-03-25T13:31:54Z","closed_at":null,"body":"I can confirm my email just using token from resend confirmation link\r\n\r\n` public function resendConfirmationEmail($token) {\r\n        return $this->sendConfirmationEmail($this->findByToken($token));\r\n    }`\r\n\r\nShould not be findByToken.  $token is secret and should be displayed in email only.\r\n\r\nSuggest use user id,login or email in resend link"}}