This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
portail-citoyen2/portail_citoyen2/allauth_authentic2
Benjamin Dauvergne b2ee01b583 Check if user should get admin role on all logins, not just the first one (fixes #5290)
The user object in sociallogin.account.user is not the final user object
that's gonna be logged in, so the admin flags should be set in the
pre_social_login signal handler if we want them to be saved in the real
user object.
2014-08-20 13:41:23 +02:00
..
__init__.py use django-allauth for authentication using oauth2 with authentic2 2014-03-07 17:45:48 +01:00
app_settings.py allauth_authentic2: add an ALLAUTH_A2_VERIFY settings 2014-05-22 18:08:51 +02:00
models.py use django-allauth for authentication using oauth2 with authentic2 2014-03-07 17:45:48 +01:00
provider.py Check if user should get admin role on all logins, not just the first one (fixes #5290) 2014-08-20 13:41:23 +02:00
tests.py use django-allauth for authentication using oauth2 with authentic2 2014-03-07 17:45:48 +01:00
urls.py use django-allauth for authentication using oauth2 with authentic2 2014-03-07 17:45:48 +01:00
views.py allauth_authentic2: cast app_settings.VERIFY to bool 2014-05-22 19:16:29 +02:00