{"action":"created","issue":{"url":"https://api.github.com/repos/HTBox/allReady/issues/659","repository_url":"https://api.github.com/repos/HTBox/allReady","labels_url":"https://api.github.com/repos/HTBox/allReady/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/HTBox/allReady/issues/659/comments","events_url":"https://api.github.com/repos/HTBox/allReady/issues/659/events","html_url":"https://github.com/HTBox/allReady/issues/659","id":146107305,"number":659,"title":"SiteAdminController builds two callback url's with wrong controller value?","user":{"login":"mgmccarthy","id":2428993,"avatar_url":"https://avatars.githubusercontent.com/u/2428993?v=3","gravatar_id":"","url":"https://api.github.com/users/mgmccarthy","html_url":"https://github.com/mgmccarthy","followers_url":"https://api.github.com/users/mgmccarthy/followers","following_url":"https://api.github.com/users/mgmccarthy/following{/other_user}","gists_url":"https://api.github.com/users/mgmccarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/mgmccarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgmccarthy/subscriptions","organizations_url":"https://api.github.com/users/mgmccarthy/orgs","repos_url":"https://api.github.com/users/mgmccarthy/repos","events_url":"https://api.github.com/users/mgmccarthy/events{/privacy}","received_events_url":"https://api.github.com/users/mgmccarthy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/HTBox/allReady/milestones/10","html_url":"https://github.com/HTBox/allReady/milestones/Technical%20Backlog","labels_url":"https://api.github.com/repos/HTBox/allReady/milestones/10/labels","id":1594886,"number":10,"title":"Technical Backlog","description":"Holding milestone for issues that aren't tied to a release and are technical decisions and or technical debt related.","creator":{"login":"tonysurma","id":5067595,"avatar_url":"https://avatars.githubusercontent.com/u/5067595?v=3","gravatar_id":"","url":"https://api.github.com/users/tonysurma","html_url":"https://github.com/tonysurma","followers_url":"https://api.github.com/users/tonysurma/followers","following_url":"https://api.github.com/users/tonysurma/following{/other_user}","gists_url":"https://api.github.com/users/tonysurma/gists{/gist_id}","starred_url":"https://api.github.com/users/tonysurma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonysurma/subscriptions","organizations_url":"https://api.github.com/users/tonysurma/orgs","repos_url":"https://api.github.com/users/tonysurma/repos","events_url":"https://api.github.com/users/tonysurma/events{/privacy}","received_events_url":"https://api.github.com/users/tonysurma/received_events","type":"User","site_admin":false},"open_issues":78,"closed_issues":58,"state":"open","created_at":"2016-02-20T17:19:06Z","updated_at":"2016-08-27T14:57:44Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-04-05T21:12:45Z","updated_at":"2016-08-27T14:58:50Z","closed_at":null,"body":"In SiteAdminController there are two action methods building callback url's for what looks like a controller that does not exist. These callback url's are used to create links in the body for an account approval email and reset password password email.\r\n\r\nResetPassword(string userId):\r\n```var callbackUrl = Url.Action(new UrlActionContext { Action = \"ResetPassword\", Controller = \"Admin\", Values = new { userId = user.Id, code = code }, Protocol = HttpContext.Request.Scheme });```\r\n\r\nEditUser(EditUserModel viewModel):\r\n```var callbackUrl = Url.Action(new UrlActionContext { Action = \"Login\", Controller = \"Admin\", Values = new { Email = user.Email }, Protocol = HttpContext.Request.Scheme });```\r\n\r\nFrom what I see, there no `AdminController` in the system anywhere, so clicking on the link generated in either email could result in a 404."},"comment":{"url":"https://api.github.com/repos/HTBox/allReady/issues/comments/242921936","html_url":"https://github.com/HTBox/allReady/issues/659#issuecomment-242921936","issue_url":"https://api.github.com/repos/HTBox/allReady/issues/659","id":242921936,"user":{"login":"tonysurma","id":5067595,"avatar_url":"https://avatars.githubusercontent.com/u/5067595?v=3","gravatar_id":"","url":"https://api.github.com/users/tonysurma","html_url":"https://github.com/tonysurma","followers_url":"https://api.github.com/users/tonysurma/followers","following_url":"https://api.github.com/users/tonysurma/following{/other_user}","gists_url":"https://api.github.com/users/tonysurma/gists{/gist_id}","starred_url":"https://api.github.com/users/tonysurma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonysurma/subscriptions","organizations_url":"https://api.github.com/users/tonysurma/orgs","repos_url":"https://api.github.com/users/tonysurma/repos","events_url":"https://api.github.com/users/tonysurma/events{/privacy}","received_events_url":"https://api.github.com/users/tonysurma/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T14:58:50Z","updated_at":"2016-08-27T14:58:50Z","body":"ping @MisterJames issue review in aisle 659 😄 "}}
{"actor":{"display_login":"tonysurma"}}