sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.1k stars 1.28k forks source link

Can't reset password: Forbidden - CSRF token invalid #9099

Open mofr opened 4 years ago

mofr commented 4 years ago

Sourcegraph version: Sourcegraph.com Platform information: Ubuntu 16.04, Chrome 65.0.3325.181 (Official Build) (64-bit)

Steps to reproduce:

  1. Open in web browser https://sourcegraph.com/password-reset
  2. Enter your email
  3. Click "Send reset password link"

Expected behavior:

The reset password link is sent to email.

Actual behavior:

Error message appeared: "Forbidden - CSRF token invalid". No email was sent.

unknwon commented 4 years ago

cc @sourcegraph/web

lguychard commented 4 years ago

@mofr thanks for reporting and apologies for the inconvenience. Could you try clearing your browser cookies?

rahulreghunath commented 4 years ago

@mofr thanks for reporting and apologies for the inconvenience. Could you try clearing your browser cookies?

The same error even after clearing browser cookies. But the error is only in chrome and working fine in firefox.

github-actions[bot] commented 3 years ago

Heads up @alicjasuska @felixfbecker @umpox @valerybugakov @5h1ru @pdubroy - the "team/frontend-platform" label was applied to this issue.