fix: enable external auth by using a different header (#87)

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias
2019-01-29 09:05:45 +00:00
committed by GitHub
parent 89d4d828b9
commit e370fbe500
3 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ export async function renew (jwt) {
const res = await fetch(`${baseURL}/api/renew`, {
method: 'POST',
headers: {
'Authorization': `Bearer ${jwt}`,
'X-Auth': jwt,
}
})