X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..3223ab3b10da1eac0f6f608a2619ffe53d5a0889:/forum_modules/facebookauth/settings.py diff --git a/forum_modules/facebookauth/settings.py b/forum_modules/facebookauth/settings.py old mode 100755 new mode 100644 index b9a0101..4127e61 --- a/forum_modules/facebookauth/settings.py +++ b/forum_modules/facebookauth/settings.py @@ -1,3 +1,19 @@ -REST_SERVER = 'http://api.facebook.com/restserver.php' -FB_API_KEY = 'f773fab7be12aea689948208f37ad336' -FB_APP_SECRET = '894547c1b8db54d77f919b1695ae879c' \ No newline at end of file +# -*- coding: utf-8 -*- + +from forum.settings import EXT_KEYS_SET +from forum.settings.base import Setting + +FB_API_KEY = Setting('FB_API_KEY', '', EXT_KEYS_SET, dict( +label = "Facebook API key", +help_text = """ +Get this key at the Facebook developers network to enable +authentication in your site through facebook. +""", +required=False)) + +FB_APP_SECRET = Setting('FB_APP_SECRET', '', EXT_KEYS_SET, dict( +label = "Facebook APP secret", +help_text = """ +This your facebook app secret that you'll get in the same place as the API key. +""", +required=False))