I plagued by 'CSRF Check failed' error for a long time,
nextcloud/server#57273
I view nextcloud source code and get some question.
at lib/interceptors/csrf-token.ts#onCsrfTokenError#35
fetch a token from server and save it at axios, but not set OC.requestToken
mybe we need emit('csrf-token-update', { token }) after fetch token
I plagued by 'CSRF Check failed' error for a long time,
nextcloud/server#57273
I view nextcloud source code and get some question.
at lib/interceptors/csrf-token.ts#onCsrfTokenError#35
fetch a token from server and save it at axios, but not set OC.requestToken
mybe we need
emit('csrf-token-update', { token })after fetch token