"Must be authenticated as user with id: X" when trying to generate a token for a user
Created by: mike-r-mclaughlin
- Sourcegraph version: 3.38.1
When trying to generate an access token as a site admin on behalf of a user, you receive an error. It seems like, this button should be removed or made to work.
Steps to reproduce:
- Login to Sourcegraph with a site admin account
- Go to Users > (select user) > Account tokens
- Click '+ Generate new token'
- Add a description
- Click '+ Generate token'
Expected behavior:
Token is generated for the user.
Actual behavior:
You receive an error:
Must be authenticated as user with id X