Skip to content

[Bug]: Sign out available even with --auth none #5448

Closed
@code-asher

Description

@code-asher

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • code-server --version: 4.5.1

Steps to Reproduce

  1. run code-server --auth none
  2. open code-server
  3. observe logout menu option

Expected

No menu option

Actual

Menu option

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

The check only sees if auth is defined when it should check that it is not none:

this._environmentService.args['auth'] ? base + '/logout' : undefined,

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageThis issue needs to be triaged by a maintainer

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions