forked from p15670423/monkey
Fixed jwtHeader method to return "Bearer X" type header instead of "JWT X"
This commit is contained in:
parent
444ce91f2b
commit
c513c2628a
|
@ -21,7 +21,7 @@ export default class AuthService {
|
||||||
|
|
||||||
jwtHeader = () => {
|
jwtHeader = () => {
|
||||||
if (this._loggedIn()) {
|
if (this._loggedIn()) {
|
||||||
return 'JWT ' + this._getToken();
|
return 'Bearer ' + this._getToken();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue