Skip to content

Commit

Permalink
[BUGFIX] Allow OPTIONS requests with access token
Browse files Browse the repository at this point in the history
Add the OPTIONS HTTP method to the allowed methods
  • Loading branch information
Mateu Aguiló Bosch committed Dec 17, 2015
1 parent c2d0a50 commit 2cdf7aa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function controllersInfo() {
'' => array(
// Get or create a new token.
RequestInterface::METHOD_GET => 'getOrCreateToken',
RequestInterface::METHOD_OPTIONS => 'discover',
),
);
}
Expand Down

0 comments on commit 2cdf7aa

Please sign in to comment.