Skip to content

"Error: Forbidden - CSRF token invalid" when sign in sourcegraph or register

Created by: huodongjie

  • Sourcegraph version:
  • Platform information:

Steps to reproduce:

1.set up sourcegraph on docker , site admin can sign in, but other users cannot sign in or register 2.when other users sign in or register sourcegraph , will show tip " Forbidden - CSRF token invalid"

so,who can tall me ,why this?

image

Expected behavior:

Actual behavior: