diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-04 22:51:52 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-04 22:51:52 -0400 |
commit | 2bf7717dddf4f07df959bbac0da9e6f6e5024261 (patch) | |
tree | 538c09d341dd4ec3debc0a7955a0f500e04e3c49 | |
parent | b42c09c66fbf61b8a637641c578c3232d03d2cea (diff) |
correct order of params in get_token
darcs-hash:20080605025152-84dde-54da3eba220432b71d14ef7cfd4a8a7bf664316f.gz
-rw-r--r-- | actions/userauthorization.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/userauthorization.php b/actions/userauthorization.php index fd4ed5b08..f1f2d8305 100644 --- a/actions/userauthorization.php +++ b/actions/userauthorization.php @@ -340,8 +340,9 @@ class UserauthorizationAction extends Action { $this->check_nonce($datastore, $req, $consumer, $token); common_debug('checking signature', __FILE__); $this->check_signature($req, $consumer, $token); - common_debug('checking signature', __FILE__); + common_debug('validating omb stuff', __FILE__); $this->validate_omb($req); + common_debug('done validating', __FILE__); return true; } @@ -440,7 +441,7 @@ class UserauthorizationAction extends Action { # Mostly cadged from OAuthServer - function get_token(&$req, $consumer, $datastore) {/*{{{*/ + function get_token($datastore, &$req, $consumer) {/*{{{*/ $token_field = @$req->get_parameter('oauth_token'); $token = $datastore->lookup_token($consumer, 'request', $token_field); if (!$token) { |