X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..c9c3cb4c714911710f606f8dc47d5e65707aff67:/forum_modules/oauthauth/settings.py diff --git a/forum_modules/oauthauth/settings.py b/forum_modules/oauthauth/settings.py old mode 100755 new mode 100644 index d503fef..7e9ef8c --- a/forum_modules/oauthauth/settings.py +++ b/forum_modules/oauthauth/settings.py @@ -1,3 +1,19 @@ -TWITTER_CONSUMER_KEY = "sAAGwWILliIbgbrG37GztQ" -TWITTER_CONSUMER_SECRET = "AZv0pHTZQaf4rxxZOrj3Jm1RKgmlV4MnYJAsrY7M0" - +from forum.settings import EXT_KEYS_SET +from forum.settings.base import Setting + +TWITTER_CONSUMER_KEY = Setting('TWITTER_CONSUMER_KEY', '', EXT_KEYS_SET, dict( +label = "Twitter consumer key", +help_text = """ +Get this key at the Twitter apps to enable +authentication in your site through Twitter. +""", +required=False)) + +TWITTER_CONSUMER_SECRET = Setting('TWITTER_CONSUMER_SECRET', '', EXT_KEYS_SET, dict( +label = "Twitter consumer secret", +help_text = """ +This your Twitter consumer secret that you'll get in the same place as the consumer key. +""", +required=False)) + +