Skip to content

[Bug]: CSRF Check failed #891

@FlyInWind1

Description

@FlyInWind1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions