Skip to content

Commit

Permalink
docs: change setApprovalPrompt to setPrompt in oauth-web.md (#1822)
Browse files Browse the repository at this point in the history
  • Loading branch information
inogo committed Apr 21, 2020
1 parent 1fdfe94 commit 64d1b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/oauth-web.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ $client->setLoginHint('timmerman@google.com');

**Optional**. A space-delimited, case-sensitive list of prompts to present the user. If you don't specify this parameter, the user will be prompted only the first time your app requests access.

To set this value in PHP, call the `setApprovalPrompt` function:
To set this value in PHP, call the `setPrompt` function:

```php
$client->setPrompt('consent');
Expand Down

0 comments on commit 64d1b33

Please sign in to comment.