{"action":"closed","issue":{"url":"https://api.github.com/repos/pennersr/django-allauth/issues/1544","repository_url":"https://api.github.com/repos/pennersr/django-allauth","labels_url":"https://api.github.com/repos/pennersr/django-allauth/issues/1544/labels{/name}","comments_url":"https://api.github.com/repos/pennersr/django-allauth/issues/1544/comments","events_url":"https://api.github.com/repos/pennersr/django-allauth/issues/1544/events","html_url":"https://github.com/pennersr/django-allauth/issues/1544","id":193075110,"number":1544,"title":"Allauth is not used by django admin","user":{"login":"JelteF","id":1162278,"avatar_url":"https://avatars.githubusercontent.com/u/1162278?v=3","gravatar_id":"","url":"https://api.github.com/users/JelteF","html_url":"https://github.com/JelteF","followers_url":"https://api.github.com/users/JelteF/followers","following_url":"https://api.github.com/users/JelteF/following{/other_user}","gists_url":"https://api.github.com/users/JelteF/gists{/gist_id}","starred_url":"https://api.github.com/users/JelteF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelteF/subscriptions","organizations_url":"https://api.github.com/users/JelteF/orgs","repos_url":"https://api.github.com/users/JelteF/repos","events_url":"https://api.github.com/users/JelteF/events{/privacy}","received_events_url":"https://api.github.com/users/JelteF/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-02T09:51:50Z","updated_at":"2016-12-10T14:19:11Z","closed_at":"2016-12-10T14:19:11Z","body":"If you go to django admin without being logged in you cannot log in using a provider except for password, because it has a custom login page. This can be fixed in the following way:\r\n\r\n```\r\nadmin.site.login = login_required(admin.site.login)\r\n```\r\n\r\nI'm unsure if this can be fixed automatically but it should at least be added to the README. I reported this originally to https://github.com/percipient/django-allauth-2fa/issues/40, because it's a security issue there. But I agree with the author that allauth itself would be a better place to fix it."}}
{"actor":{"display_login":"pennersr"}}