Skip to content

Hide password info on login screen #5857

Closed

Description

@bilogic

What is your suggestion?

Please log in below. Check the config file at /path/to/config.yaml for the password.

The login screen exposes the path to the config file.

Please log in below. Password was set from $PASSWORD.

This does not help end users that were not involved in setting up the password.

Why do you want this feature?

After the system is setup properly, this info is no longer helpful, there should be a way to hide this to prevent unnecessary information leaks.

Are there any workarounds to get this functionality today?

None.

Are you interested in submitting a PR for this?

Yes, but I'm not confident in javascript.

Activity

  1. added this to the Backlog Candidates milestone on Dec 9, 2022
  2. lvntruong commented on Dec 20, 2022

    @lvntruong

    You can update it at:
    /usr/lib/code-server/src/browser/pages/login.html

  3. thanhle7 commented on May 10, 2023

    @thanhle7

    I am second for this feature

  4. changed the title [-][Feat]: Hide config path at login screen[/-] [+][Feat]: Hide config path or $PASSWORD at login screen[/+] on Jul 13, 2024
  5. changed the title [-][Feat]: Hide config path or $PASSWORD at login screen[/-] [+][Feat]: Hide password info on login screen[/+] on Jul 13, 2024
  6. changed the title [-][Feat]: Hide password info on login screen[/-] [+]Hide password info on login screen[/+] on Jul 13, 2024
  7. code-asher commented on Apr 7, 2026

    @code-asher
    Member

    The path was removed in #7709

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSome improvement that isn't a feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions