aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/oauth/oauth.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/oauth/oauth.py')
-rw-r--r--mediagoblin/oauth/oauth.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mediagoblin/oauth/oauth.py b/mediagoblin/oauth/oauth.py
index 7dc5aa5b..100dc8eb 100644
--- a/mediagoblin/oauth/oauth.py
+++ b/mediagoblin/oauth/oauth.py
@@ -28,6 +28,10 @@ class GMGRequestValidator(RequestValidator):
self.POST = data
super(GMGRequestValidator, self).__init__(*args, **kwargs)
+ @property
+ def nonce_length(self):
+ return 5, 30
+
def save_request_token(self, token, request):
""" Saves request token in db """
client_id = self.POST[u"oauth_consumer_key"]