Skip to content

fix: remove config file path from login page#7709

Open
karesansui-u wants to merge 1 commit intocoder:mainfrom
karesansui-u:fix/remove-config-path-from-login
Open

fix: remove config file path from login page#7709
karesansui-u wants to merge 1 commit intocoder:mainfrom
karesansui-u:fix/remove-config-path-from-login

Conversation

@karesansui-u
Copy link

Fixes #7643

The login page displayed the full config file path (e.g.
/home/username/.config/code-server/config.yaml), exposing the
username and system layout to anyone who can see the page.

The path is already printed in the CLI output at startup, so
showing it on the login page is unnecessary. Removed the
{{configFile}} interpolation from all locale files.

The login page displayed the full config file path (e.g.
/home/username/.config/code-server/config.yaml), which exposes
the username and system layout to anyone who can see the page.

The path is already printed in the CLI output when starting
code-server, so showing it on the login page is unnecessary.

Fixes coder#7643
@karesansui-u karesansui-u requested a review from a team as a code owner March 16, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Welcome screen leaks (slightly) security relevant information

1 participant