Fixed jwtHeader method to return "Bearer X" type header instead of "JWT X"

This commit is contained in:
VakarisZ 2020-07-30 17:26:19 +03:00
parent 444ce91f2b
commit c513c2628a
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export default class AuthService {
jwtHeader = () => {
if (this._loggedIn()) {
return 'JWT ' + this._getToken();
return 'Bearer ' + this._getToken();
}
};