mirror of
https://github.com/coder/code-server.git
synced 2026-05-05 03:55:18 +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
14 lines
497 B
JSON
14 lines
497 B
JSON
{
|
|
"LOGIN_TITLE": "{{app}} 登录",
|
|
"LOGIN_BELOW": "请在下面登录。",
|
|
"WELCOME": "欢迎来到 {{app}}",
|
|
"LOGIN_PASSWORD": "查看配置文件中的密码。",
|
|
"LOGIN_USING_ENV_PASSWORD": "密码在 $PASSWORD 中设置。",
|
|
"LOGIN_USING_HASHED_PASSWORD": "密码在 $HASHED_PASSWORD 中设置。",
|
|
"SUBMIT": "提交",
|
|
"PASSWORD_PLACEHOLDER": "密码",
|
|
"LOGIN_RATE_LIMIT": "登录速率限制!",
|
|
"MISS_PASSWORD": "缺少密码",
|
|
"INCORRECT_PASSWORD": "密码不正确"
|
|
}
|