fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tags wired to pictures
[wolnelektury.git]
/
wolnelektury
/
settings
/
auth.py
diff --git
a/wolnelektury/settings/auth.py
b/wolnelektury/settings/auth.py
index
136db06
..
4d3ea22
100644
(file)
--- a/
wolnelektury/settings/auth.py
+++ b/
wolnelektury/settings/auth.py
@@
-2,7
+2,18
@@
AUTHENTICATION_BACKENDS = [
'django.contrib.auth.backends.ModelBackend',
'allauth.account.auth_backends.AuthenticationBackend',
]
'django.contrib.auth.backends.ModelBackend',
'allauth.account.auth_backends.AuthenticationBackend',
]
-
EMAIL_CONFIRMATION
_DAYS = 2
+
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE
_DAYS = 2
LOGIN_URL = '/uzytkownik/login/'
LOGIN_REDIRECT_URL = '/'
LOGIN_URL = '/uzytkownik/login/'
LOGIN_REDIRECT_URL = '/'
+
+SOCIALACCOUNT_AUTO_SIGNUP = False
+SOCIALACCOUNT_QUERY_EMAIL = True
+
+
+SOCIALACCOUNT_PROVIDERS = \
+ { 'openid':
+ { 'SERVERS':
+ [dict(id='google',
+ name='Google',
+ openid_url='https://www.google.com/accounts/o8/id')]}}