]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/facebookauth/settings.py
make user decorated name decoratable through OSQA modules, allow superusers to edit...
[osqa.git] / forum_modules / facebookauth / settings.py
old mode 100755 (executable)
new mode 100644 (file)
index b9a0101..4127e61
@@ -1,3 +1,19 @@
-REST_SERVER = 'http://api.facebook.com/restserver.php'\r
-FB_API_KEY = 'f773fab7be12aea689948208f37ad336'\r
-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 <a href="http://www.facebook.com/developers/">Facebook developers network</a> 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))