[full-ci] Bump web to v5.7.0-rc.3 (#4140)

* Bump web to v5.7.0-rc.4

* Switch default value for resharing in capabilities to true

* Fix access token usage in settings ui
This commit is contained in:
Benedikt Kulmann
2022-07-08 19:15:34 +02:00
committed by GitHub
parent 84d9b390a6
commit 981c448395
8 changed files with 36 additions and 10 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ export default {
function injectAuthToken (rootGetters) {
axios.interceptors.request.use(config => {
if (typeof config.headers.Authorization === 'undefined') {
const token = rootGetters.user.token
const token = rootGetters['runtime/auth/accessToken']
if (token) {
config.headers.Authorization = `Bearer ${token}`
}