Skip to content

Bug: Running code server --dev overwrites credentials #1747

Closed

Description

@mafredri

Steps to Reproduce

  1. Run coder login https://my.production.server
  2. Decide to debug code server with code server --dev
  3. Observe production credentials are overwritten

Expected

It would be nice of coder server --dev asked for confirmation before overwriting.

Actual

Notice after the fact that regular credentials have been overwritten.

Notes

This is working as-intended, but I think it'd be good for us to consider what the end-user behavior should be.

Activity

  1. ketang commented on May 25, 2022

    @ketang
    Contributor

    Good find. This is definitely undesirable.

  2. AbhineetJain commented on May 25, 2022

    @AbhineetJain
    Contributor

    @ketang Looks like this was closed by mistake?

  3. reopened this on May 25, 2022
  4. ketang commented on May 25, 2022

    @ketang
    Contributor

    Arg thank you.

  5. added this to the Community MVP milestone on May 27, 2022
  6. misskniss commented on May 27, 2022

    @misskniss

    @f0ssel will you link your PR to this when you get a sec?

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

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIcliArea: CLI

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions