Merge pull request #220 from jasonvarga/master

Allow approval_prompt to be set through options
oauth1test 0.8.1
Ben Ramsey 2015-02-12 12:10:16 -05:00
commit bb2d4e4be7
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ abstract class AbstractProvider implements ProviderInterface
'state' => $this->state,
'scope' => is_array($this->scopes) ? implode($this->scopeSeparator, $this->scopes) : $this->scopes,
'response_type' => isset($options['response_type']) ? $options['response_type'] : 'code',
'approval_prompt' => 'auto',
'approval_prompt' => isset($options['approval_prompt']) ? $options['approval_prompt'] : 'auto',
];
return $this->urlAuthorize().'?'.$this->httpBuildQuery($params, '', '&');