mirror of
https://github.com/cdr/code-server.git
synced 2026-04-02 11:36:57 +02:00
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 #7643
13 lines
508 B
JSON
13 lines
508 B
JSON
{
|
|
"LOGIN_TITLE": "{{app}} login",
|
|
"LOGIN_BELOW": "Please log in below.",
|
|
"WELCOME": "Welcome to {{app}}",
|
|
"LOGIN_PASSWORD": "Check the config file for the password.",
|
|
"LOGIN_USING_ENV_PASSWORD": "Password was set from $PASSWORD.",
|
|
"LOGIN_USING_HASHED_PASSWORD": "Password was set from $HASHED_PASSWORD.",
|
|
"SUBMIT": "SUBMIT",
|
|
"PASSWORD_PLACEHOLDER": "PASSWORD",
|
|
"LOGIN_RATE_LIMIT": "Login rate limited!",
|
|
"MISS_PASSWORD": "Missing password",
|
|
"INCORRECT_PASSWORD": "Incorrect password"
|
|
}
|