X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..fb227ee2f88687df8cee7b5b664fd1083ff42ef4:/forum_modules/facebookauth/settings.py?ds=sidebyside diff --git a/forum_modules/facebookauth/settings.py b/forum_modules/facebookauth/settings.py old mode 100755 new mode 100644 index b9a0101..7f34a21 --- a/forum_modules/facebookauth/settings.py +++ b/forum_modules/facebookauth/settings.py @@ -1,3 +1,17 @@ -REST_SERVER = 'http://api.facebook.com/restserver.php' -FB_API_KEY = 'f773fab7be12aea689948208f37ad336' -FB_APP_SECRET = '894547c1b8db54d77f919b1695ae879c' \ No newline at end of file +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))