mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-23 12:38:21 -05:00
[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:
@@ -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}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user