mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-22 23:53:18 +05:30
fix for thephpleague/oauth2-server#389
This commit is contained in:
1 parent
c5db707e69
commit
55c8df8312
1 file changed
+2
@@ -132,6 +132,8 @@ class OAuthException extends \Exception
|
||||
$authScheme = 'Bearer';
|
||||
} elseif (strpos($authHeader, 'Basic') === 0) {
|
||||
$authScheme = 'Basic';
|
||||
} elseif (strpos($authHeader, 'MAC') === 0) {
|
||||
$authScheme = 'MAC';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user