Skip to content

Bug: Empty User settings breaks user's account

Created by: abeatrix

  • Sourcegraph version: 3.37.0 - 3.39.0
  • Platform information: Web

Steps to reproduce:

  1. Remove everything in your User's Setting then git Save Changes
image 2. You will be logged out after refreshing the page

Expected behavior:

  • Be able to log in again
  • Be able to edit the file again

Actual behavior:

  • Not able to log back into the account
  • Site admin is not able to edit the file for the user
  • The User's setting page errors out:
image

If would like immediate help on this, please email [email protected] (you can still create the issue, but there are not SLAs on issues like there are for support requests).