3b703bce490e434b889e5a059b8523687dbf9d21
[wolnelektury.git] / wolnelektury / settings / auth.py
1 AUTHENTICATION_BACKENDS = [
2     'django.contrib.auth.backends.ModelBackend',
3     'allauth.account.auth_backends.AuthenticationBackend',
4 ]
5 EMAIL_CONFIRMATION_DAYS = 2
6 LOGIN_URL = '/uzytkownik/login/'
7
8 LOGIN_REDIRECT_URL = '/'
9
10 SOCIALACCOUNT_AUTO_SIGNUP = False
11 SOCIALACCOUNT_QUERY_EMAIL = True