Add allauth_oauth app to sync user fields on OAuth login
All checks were successful
Docker / build (release) Successful in 8s
All checks were successful
Docker / build (release) Successful in 8s
This commit is contained in:
parent
686cf611b6
commit
893c56874f
2 changed files with 41 additions and 0 deletions
12
allauth_oauth/apps.py
Normal file
12
allauth_oauth/apps.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# This file is part of photo21
|
||||
# Copyright (C) 2022 Amicale des élèves de l'ENS Paris-Saclay
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class AllauthOAuthConfig(AppConfig):
|
||||
name = "allauth_oauth"
|
||||
|
||||
def ready(self):
|
||||
import allauth_oauth.signals # noqa: F401
|
||||
Loading…
Add table
Add a link
Reference in a new issue