waaaa, maintenant on peut genre se connecter
This commit is contained in:
parent
b1c0dd857d
commit
1865054c29
1 changed files with 5 additions and 2 deletions
|
@ -186,11 +186,12 @@ SITE_ID = 1
|
||||||
|
|
||||||
CAS_SERVER_URL = "https://cas.eleves.ens.fr/" # SPI CAS
|
CAS_SERVER_URL = "https://cas.eleves.ens.fr/" # SPI CAS
|
||||||
CAS_VERIFY_URL = "https://cas.eleves.ens.fr/"
|
CAS_VERIFY_URL = "https://cas.eleves.ens.fr/"
|
||||||
|
CAS_VERSION = "2"
|
||||||
CAS_IGNORE_REFERER = True
|
CAS_IGNORE_REFERER = True
|
||||||
|
CAS_LOGIN_MSG = None
|
||||||
CAS_REDIRECT_URL = reverse_lazy('shared:home')
|
CAS_REDIRECT_URL = reverse_lazy('shared:home')
|
||||||
CAS_EMAIL_FORMAT = "%s@clipper.ens.fr"
|
CAS_EMAIL_FORMAT = "%s@clipper.ens.fr"
|
||||||
CAS_FORCE_CHANGE_USERNAME_CASE = "lower"
|
CAS_FORCE_CHANGE_USERNAME_CASE = "lower"
|
||||||
CAS_VERSION = 'CAS_2_SAML_1_0'
|
|
||||||
|
|
||||||
LOGIN_URL = reverse_lazy('account_login')
|
LOGIN_URL = reverse_lazy('account_login')
|
||||||
LOGOUT_URL = reverse_lazy('account_logout')
|
LOGOUT_URL = reverse_lazy('account_logout')
|
||||||
|
@ -214,4 +215,6 @@ SOCIALACCOUNT_PROVIDERS = {
|
||||||
|
|
||||||
|
|
||||||
ACCOUNT_ADAPTER = 'shared.allauth_adapter.AccountAdapter'
|
ACCOUNT_ADAPTER = 'shared.allauth_adapter.AccountAdapter'
|
||||||
SOCIALACCOUNT_ADAPTER='allauth_ens.adapter.LongTermClipperAccountAdapter'
|
#SOCIALACCOUNT_ADAPTER='allauth_ens.adapter.LongTermClipperAccountAdapter'
|
||||||
|
SOCIALACCOUNT_ADAPTER= 'shared.allauth_adapter.SocialAccountAdapter'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue