diff options
| author | Tom Christie | 2013-12-13 20:40:11 +0000 |
|---|---|---|
| committer | Tom Christie | 2013-12-13 20:40:11 +0000 |
| commit | fac6d1a36e39f2fccae77ca49e16c1eb838a51ed (patch) | |
| tree | 7841a407edb41719e3abcf7af74a6848ce3df142 /rest_framework/authentication.py | |
| parent | 39dbea4da43f829863d395d5f2ee158837f2afe2 (diff) | |
| parent | b86765d9c02388f6bb82dbb5824a005e8fe73dec (diff) | |
| download | django-rest-framework-fac6d1a36e39f2fccae77ca49e16c1eb838a51ed.tar.bz2 | |
Merge branch 'master' of git://github.com/philipforget/django-rest-framework into philipforget-master
Diffstat (limited to 'rest_framework/authentication.py')
| -rw-r--r-- | rest_framework/authentication.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rest_framework/authentication.py b/rest_framework/authentication.py index cf001a24..bca542eb 100644 --- a/rest_framework/authentication.py +++ b/rest_framework/authentication.py @@ -281,7 +281,8 @@ class OAuthAuthentication(BaseAuthentication): """ Checks nonce of request, and return True if valid. """ - return oauth_provider_store.check_nonce(request, oauth_request, oauth_request['oauth_nonce']) + return oauth_provider_store.check_nonce(request, oauth_request, + oauth_request['oauth_nonce'], oauth_request['oauth_timestamp']) class OAuth2Authentication(BaseAuthentication): |
