summaryrefslogtreecommitdiffstats
path: root/forum/authentication/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'forum/authentication/base.py')
-rwxr-xr-xforum/authentication/base.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/forum/authentication/base.py b/forum/authentication/base.py
index 08534adc..99005866 100755
--- a/forum/authentication/base.py
+++ b/forum/authentication/base.py
@@ -33,6 +33,10 @@ class ConsumerTemplateContext(object):
extra_css = []
show_to_logged_in_user = True
+ @classmethod
+ def readable_key(cls, key):
+ return key.key
+
class InvalidAuthentication(Exception):
def __init__(self, message):
self.message = message