summaryrefslogtreecommitdiffstats
path: root/forum/authentication/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'forum/authentication/__init__.py')
-rwxr-xr-xforum/authentication/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/forum/authentication/__init__.py b/forum/authentication/__init__.py
index 5326c45c..75099303 100755
--- a/forum/authentication/__init__.py
+++ b/forum/authentication/__init__.py
@@ -7,7 +7,7 @@ class ConsumerAndContext():
self.id = id
self.consumer = consumer()
- context.id = id
+ context.id = id #add extra field to context
self.context = context
consumers = dict([
@@ -24,4 +24,4 @@ contexts = dict([
AUTH_PROVIDERS = dict([
(name, ConsumerAndContext(name, consumers[name], contexts[name])) for name in consumers.keys()
if name in contexts
- ]) \ No newline at end of file
+ ])