{"action":"created","issue":{"url":"https://api.github.com/repos/percipient/django-allauth-2fa/issues/42","repository_url":"https://api.github.com/repos/percipient/django-allauth-2fa","labels_url":"https://api.github.com/repos/percipient/django-allauth-2fa/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/percipient/django-allauth-2fa/issues/42/comments","events_url":"https://api.github.com/repos/percipient/django-allauth-2fa/issues/42/events","html_url":"https://github.com/percipient/django-allauth-2fa/pull/42","id":194635082,"number":42,"title":"fix authentication breaks with custom adapter","user":{"login":"humrochagf","id":1223625,"avatar_url":"https://avatars.githubusercontent.com/u/1223625?v=3","gravatar_id":"","url":"https://api.github.com/users/humrochagf","html_url":"https://github.com/humrochagf","followers_url":"https://api.github.com/users/humrochagf/followers","following_url":"https://api.github.com/users/humrochagf/following{/other_user}","gists_url":"https://api.github.com/users/humrochagf/gists{/gist_id}","starred_url":"https://api.github.com/users/humrochagf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humrochagf/subscriptions","organizations_url":"https://api.github.com/users/humrochagf/orgs","repos_url":"https://api.github.com/users/humrochagf/repos","events_url":"https://api.github.com/users/humrochagf/events{/privacy}","received_events_url":"https://api.github.com/users/humrochagf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"clokep","id":517124,"avatar_url":"https://avatars.githubusercontent.com/u/517124?v=3","gravatar_id":"","url":"https://api.github.com/users/clokep","html_url":"https://github.com/clokep","followers_url":"https://api.github.com/users/clokep/followers","following_url":"https://api.github.com/users/clokep/following{/other_user}","gists_url":"https://api.github.com/users/clokep/gists{/gist_id}","starred_url":"https://api.github.com/users/clokep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clokep/subscriptions","organizations_url":"https://api.github.com/users/clokep/orgs","repos_url":"https://api.github.com/users/clokep/repos","events_url":"https://api.github.com/users/clokep/events{/privacy}","received_events_url":"https://api.github.com/users/clokep/received_events","type":"User","site_admin":false},"assignees":[{"login":"clokep","id":517124,"avatar_url":"https://avatars.githubusercontent.com/u/517124?v=3","gravatar_id":"","url":"https://api.github.com/users/clokep","html_url":"https://github.com/clokep","followers_url":"https://api.github.com/users/clokep/followers","following_url":"https://api.github.com/users/clokep/following{/other_user}","gists_url":"https://api.github.com/users/clokep/gists{/gist_id}","starred_url":"https://api.github.com/users/clokep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clokep/subscriptions","organizations_url":"https://api.github.com/users/clokep/orgs","repos_url":"https://api.github.com/users/clokep/repos","events_url":"https://api.github.com/users/clokep/events{/privacy}","received_events_url":"https://api.github.com/users/clokep/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-12-09T16:15:43Z","updated_at":"2016-12-14T21:37:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/percipient/django-allauth-2fa/pulls/42","html_url":"https://github.com/percipient/django-allauth-2fa/pull/42","diff_url":"https://github.com/percipient/django-allauth-2fa/pull/42.diff","patch_url":"https://github.com/percipient/django-allauth-2fa/pull/42.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/percipient/django-allauth-2fa/issues/comments/267164184","html_url":"https://github.com/percipient/django-allauth-2fa/pull/42#issuecomment-267164184","issue_url":"https://api.github.com/repos/percipient/django-allauth-2fa/issues/42","id":267164184,"user":{"login":"clokep","id":517124,"avatar_url":"https://avatars.githubusercontent.com/u/517124?v=3","gravatar_id":"","url":"https://api.github.com/users/clokep","html_url":"https://github.com/clokep","followers_url":"https://api.github.com/users/clokep/followers","following_url":"https://api.github.com/users/clokep/following{/other_user}","gists_url":"https://api.github.com/users/clokep/gists{/gist_id}","starred_url":"https://api.github.com/users/clokep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clokep/subscriptions","organizations_url":"https://api.github.com/users/clokep/orgs","repos_url":"https://api.github.com/users/clokep/repos","events_url":"https://api.github.com/users/clokep/events{/privacy}","received_events_url":"https://api.github.com/users/clokep/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T21:37:01Z","updated_at":"2016-12-14T21:37:01Z","body":"Cool. This seems to fix the problem!\r\n\r\nI tested this by\r\n* Copying you test adapter into the `test` application\r\n* Logging in\r\n* Turning on 2FA & Logging out\r\n* Logging in again\r\n* After entering the proper token, I got an exception at `allauth_2fa/views.py in form_valid, line 64`:\r\n\r\n```\r\nTypeError at /accounts/two-factor-authenticate\r\n\r\nsuper(type, obj): obj must be an instance or subtype of type\r\n```\r\n\r\nApplying this branch fixed the exception."}}
{"actor":{"display_login":"clokep"}}