dataset/seed/applicationservice/2022.03.08/mailman/manual/image/postinstall/risotto/provider.py
2022-03-08 19:42:28 +01:00

13 lines
419 B
Python

# -*- coding: utf-8 -*-
from allauth.socialaccount.providers.lemonldap.provider import LemonLDAPAccount, LemonLDAPProvider
from allauth.socialaccount import app_settings
class RisottoProvider(LemonLDAPProvider):
id = "risotto"
settings = app_settings.PROVIDERS.get('risotto', {})
name = settings.get("LEMONLDAP_NAME", 'Risotto')
account_class = LemonLDAPAccount
provider_classes = [RisottoProvider]