Permalink
Browse files

Merge pull request #89 from bojanz/fix-config-references

Fix incorrect references to config variables.
  • Loading branch information...
2 parents cdd45f2 + c009b78 commit 728b183a024eb804b6d02bb43328bc62fcb99063 @bshaffer committed Apr 5, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/OAuth2/Server.php
View
@@ -299,9 +299,9 @@ public function handleAuthorizeRequest(OAuth2_RequestInterface $request, $is_aut
/**
* Pull the authorization request data out of the HTTP request.
* - The redirect_uri is OPTIONAL as per draft 20. But your implementation can enforce it
- * by setting CONFIG_ENFORCE_INPUT_REDIRECT to true.
+ * by setting $config['enforce_redirect'] to true.
* - The state is OPTIONAL but recommended to enforce CSRF. Draft 21 states, however, that
- * CSRF protection is MANDATORY. You can enforce this by setting the CONFIG_ENFORCE_STATE to true.
+ * CSRF protection is MANDATORY. You can enforce this by setting the $config['enforce_state'] to true.
*
* The draft specifies that the parameters should be retrieved from GET, override the Response
* object to change this

0 comments on commit 728b183

Please sign in to comment.