Skip to content

Commit

Permalink
Merge pull request opauth#8 from skennedy1492/master
Browse files Browse the repository at this point in the history
Add Optional Authenticate Parameters
  • Loading branch information
uzyn committed Oct 10, 2012
2 parents cd98c49 + f2d8545 commit ee3f32e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TwitterStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ private function _authorize($oauth_token) {
'oauth_token' => $oauth_token
);

if (!empty($this->strategy['force_login'])) $params['force_login'] = $this->strategy['force_login'];
if (!empty($this->strategy['screen_name'])) $params['screen_name'] = $this->strategy['screen_name'];

$this->clientGet($this->strategy['authorize_url'], $params);
}

Expand Down

0 comments on commit ee3f32e

Please sign in to comment.