-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
14 lines (13 loc) · 759 Bytes
/
config.py
File metadata and controls
14 lines (13 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
WTF_CSRF_ENABLED = True
# activates cross-site request forgery prevention
# usually active by default
# (https://en.wikipedia.org/wiki/Cross-site_request_forgery)
SECRET_KEY = 'I-promise-you-it-will-not-be-this-so-dont-even-try' # This would be changed for public sites
# OPENID is defunct, checkout OAuth2 and OpenID Connect for a better solution
OPENID_PROVIDERS = [ # list of openid providers
#{'name': 'Google', 'url': 'https://www.google.com/accounts/o8/id'}, # deprecated
{'name': 'Yahoo', 'url': 'https://me.yahoo.com'},
{'name': 'AOL', 'url': 'http://openid.aol.com/<username>'},
{'name': 'Flickr', 'url': 'http://www.flickr.com/<username>'}
#{'name': 'MyOpenID', 'url': 'https://www.myopenid.com'}] # deprecated
]