diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-05-05 00:19:28 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 20:49:05 +0200 |
commit | 4b4d3bb1c2aed09c288350822e6677426594a7ea (patch) | |
tree | 2f8b35d089fe77deda89cb05cc95098e787f6d12 /apps | |
parent | 1470ec95ca1deb3e38be633e7a4a74303fbaa64b (diff) | |
download | nextcloud-server-4b4d3bb1c2aed09c288350822e6677426594a7ea.tar.gz nextcloud-server-4b4d3bb1c2aed09c288350822e6677426594a7ea.zip |
It's a bearer
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/oauth2/lib/Controller/OauthApiController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/oauth2/lib/Controller/OauthApiController.php b/apps/oauth2/lib/Controller/OauthApiController.php index 8432830bce3..97f8185149a 100644 --- a/apps/oauth2/lib/Controller/OauthApiController.php +++ b/apps/oauth2/lib/Controller/OauthApiController.php @@ -78,7 +78,7 @@ class OauthApiController extends Controller { return new JSONResponse( [ 'access_token' => $decryptedToken, - 'token_type' => 'token', + 'token_type' => 'Bearer', 'expires_in' => 3600, 'refresh_token' => $newCode, 'user_id' => ($this->defaultTokenMapper->getTokenById($accessToken->getTokenId()))->getUID(), |