From c513c2628aa3f764b41abed765ceadb1e81aa34f Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Thu, 30 Jul 2020 17:26:19 +0300 Subject: [PATCH] Fixed jwtHeader method to return "Bearer X" type header instead of "JWT X" --- monkey/monkey_island/cc/ui/src/services/AuthService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/ui/src/services/AuthService.js b/monkey/monkey_island/cc/ui/src/services/AuthService.js index e1db4186c..54bdccc3c 100644 --- a/monkey/monkey_island/cc/ui/src/services/AuthService.js +++ b/monkey/monkey_island/cc/ui/src/services/AuthService.js @@ -21,7 +21,7 @@ export default class AuthService { jwtHeader = () => { if (this._loggedIn()) { - return 'JWT ' + this._getToken(); + return 'Bearer ' + this._getToken(); } };