Don't base64 decode the bearer token

Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
This commit is contained in:
Alex Bilbie 2012-10-10 09:32:50 +01:00
parent 4fdfb63128
commit 5ed4a8a2c4

View File

@ -151,7 +151,7 @@ class Server
$rawToken = trim(str_replace('Bearer', '', $headers['Authorization']));
if ( ! empty($rawToken)) {
$accessToken = base64_decode($rawToken);
$accessToken = $rawToken;
}
}
}