{"action":"created","issue":{"url":"https://api.github.com/repos/Offroadcode/Umbraco-2FA/issues/4","repository_url":"https://api.github.com/repos/Offroadcode/Umbraco-2FA","labels_url":"https://api.github.com/repos/Offroadcode/Umbraco-2FA/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Offroadcode/Umbraco-2FA/issues/4/comments","events_url":"https://api.github.com/repos/Offroadcode/Umbraco-2FA/issues/4/events","html_url":"https://github.com/Offroadcode/Umbraco-2FA/issues/4","id":229560604,"number":4,"title":"Not working for user accounts other than ID \"0\"","user":{"login":"wr-dev","id":23311333,"avatar_url":"https://avatars3.githubusercontent.com/u/23311333?v=4","gravatar_id":"","url":"https://api.github.com/users/wr-dev","html_url":"https://github.com/wr-dev","followers_url":"https://api.github.com/users/wr-dev/followers","following_url":"https://api.github.com/users/wr-dev/following{/other_user}","gists_url":"https://api.github.com/users/wr-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/wr-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wr-dev/subscriptions","organizations_url":"https://api.github.com/users/wr-dev/orgs","repos_url":"https://api.github.com/users/wr-dev/repos","events_url":"https://api.github.com/users/wr-dev/events{/privacy}","received_events_url":"https://api.github.com/users/wr-dev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cssquirrel","id":4752923,"avatar_url":"https://avatars2.githubusercontent.com/u/4752923?v=4","gravatar_id":"","url":"https://api.github.com/users/cssquirrel","html_url":"https://github.com/cssquirrel","followers_url":"https://api.github.com/users/cssquirrel/followers","following_url":"https://api.github.com/users/cssquirrel/following{/other_user}","gists_url":"https://api.github.com/users/cssquirrel/gists{/gist_id}","starred_url":"https://api.github.com/users/cssquirrel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cssquirrel/subscriptions","organizations_url":"https://api.github.com/users/cssquirrel/orgs","repos_url":"https://api.github.com/users/cssquirrel/repos","events_url":"https://api.github.com/users/cssquirrel/events{/privacy}","received_events_url":"https://api.github.com/users/cssquirrel/received_events","type":"User","site_admin":false},"assignees":[{"login":"cssquirrel","id":4752923,"avatar_url":"https://avatars2.githubusercontent.com/u/4752923?v=4","gravatar_id":"","url":"https://api.github.com/users/cssquirrel","html_url":"https://github.com/cssquirrel","followers_url":"https://api.github.com/users/cssquirrel/followers","following_url":"https://api.github.com/users/cssquirrel/following{/other_user}","gists_url":"https://api.github.com/users/cssquirrel/gists{/gist_id}","starred_url":"https://api.github.com/users/cssquirrel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cssquirrel/subscriptions","organizations_url":"https://api.github.com/users/cssquirrel/orgs","repos_url":"https://api.github.com/users/cssquirrel/repos","events_url":"https://api.github.com/users/cssquirrel/events{/privacy}","received_events_url":"https://api.github.com/users/cssquirrel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2017-05-18T05:38:46Z","updated_at":"2017-08-04T07:09:38Z","closed_at":null,"body":"Package works great for the main Admin account. However, when trying to use this for other user accounts, I log in, and get presented with the \"Specify your two-factor authentication option\" screen, as expected. \r\n\r\nHowever, when I then click on GoogleAuthenticator, I get a 500 error in console with the error below.\r\n\r\nIn my FortressUser2FASettings table, I only have an entry for User ID 0.\r\n\r\nI'm going to try and work this out, but if you have any ideas?\r\n\r\nThanks!\r\n\r\n{Message: \"An error has occurred.\",…}\r\nExceptionMessage\r\n:\r\n\"This account has already setup GoogleAuthenticator\"\r\nExceptionType\r\n:\r\n\"System.UnauthorizedAccessException\"\r\nMessage\r\n:\r\n\"An error has occurred.\"\r\nStackTrace\r\n:\r\n\"   at Orc.Fortress.Controllers.TwoFactorSetupController.SetupGoogleAuth()\r\n↵   at lambda_method(Closure , Object , Object[] )\r\n↵   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n↵   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n↵   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n↵--- End of stack trace from previous location where exception was thrown ---\r\n↵   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n↵   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n↵   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n↵--- End of stack trace from previous location where exception was thrown ---\r\n↵   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n↵   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n↵   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n↵--- End of stack trace from previous location where exception was thrown ---\r\n↵   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n↵   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n↵   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()\""},"comment":{"url":"https://api.github.com/repos/Offroadcode/Umbraco-2FA/issues/comments/320174920","html_url":"https://github.com/Offroadcode/Umbraco-2FA/issues/4#issuecomment-320174920","issue_url":"https://api.github.com/repos/Offroadcode/Umbraco-2FA/issues/4","id":320174920,"user":{"login":"Gholie","id":8503265,"avatar_url":"https://avatars1.githubusercontent.com/u/8503265?v=4","gravatar_id":"","url":"https://api.github.com/users/Gholie","html_url":"https://github.com/Gholie","followers_url":"https://api.github.com/users/Gholie/followers","following_url":"https://api.github.com/users/Gholie/following{/other_user}","gists_url":"https://api.github.com/users/Gholie/gists{/gist_id}","starred_url":"https://api.github.com/users/Gholie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gholie/subscriptions","organizations_url":"https://api.github.com/users/Gholie/orgs","repos_url":"https://api.github.com/users/Gholie/repos","events_url":"https://api.github.com/users/Gholie/events{/privacy}","received_events_url":"https://api.github.com/users/Gholie/received_events","type":"User","site_admin":false},"created_at":"2017-08-04T07:09:38Z","updated_at":"2017-08-04T07:09:38Z","body":"Did you make any progress as to whether it is fixable?\r\n\r\nThanks for your work!"}}
{"actor":{"display_login":"Gholie"}}