forked from hybridauth/hybridauth
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No error raised when access token is retrieved for blocked IPs
No error was raised when an access token was retrieved from an IP that was not white-listed. Moved all the error code into one method that detects both OAuth 2.0 00 style and OAuth 2.0 10 style.
- Loading branch information
Showing
1 changed file
with
36 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters