Skip to content

Bad Request: no CSRF token present #8399

Closed

Description

@cnpavel

Gogs version 0.14.3
Web Interface: when trying to remove an user from a team the POST action is sent without _csrf parameter.

Activity

  1. cnpavel commented on Jul 29, 2026

    @cnpavel
    Author

    Same behavior when trying to remove a member from Organization.

    I used firefox to resend the Post with the required _csrf parameter and it worked.

  2. Huangzsnone commented on Sep 2, 2026

    @Huangzsnone

    解决了吗,我也遇到了,

  3. rho-ha commented on Oct 14, 2026

    @rho-ha

    @cnpavel

    Apply this to 0.14.3 which is adapted from 9fd867f

    081c2c47f767e3afef1126fa5ba75ff362777257.patch

  4. EddieLue commented on Oct 27, 2026

    @EddieLue
    Image

    WTF?Cannot remove members!

  5. added a commit that references this issue on Nov 12, 2026
    ee8f683
  6. added this to the 0.14.4 milestone on Nov 12, 2026
  7. unknwon commented on Nov 12, 2026

    @unknwon
    Member

    Thanks for reporting! The fix is coming with the 0.14.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions