drop the login footer note
Remove the deployment blurb and the token-storage hint from the sign-in page. They described implementation details rather than helping anyone sign in, and the token line exposed the storage mechanism to anyone looking at the screen. Also removes the now-unused .login-legal rule and the two locale keys behind it.
This commit is contained in:
@@ -24,8 +24,6 @@ export default {
|
||||
showPassword: 'Show password',
|
||||
hidePassword: 'Hide password',
|
||||
fillDefaults: 'Sign in with the default account',
|
||||
localDeploymentNote: 'Self-hosted · no telemetry · data never leaves this machine',
|
||||
tokenHint: 'The token returned by POST /api/auth/login is stored in localStorage',
|
||||
accessDenied: 'You do not have permission to access this resource.',
|
||||
passwordMismatch: 'Passwords do not match',
|
||||
passwordTooShort: 'Password must be at least 6 characters',
|
||||
|
||||
@@ -24,8 +24,6 @@ export default {
|
||||
showPassword: '显示密码',
|
||||
hidePassword: '隐藏密码',
|
||||
fillDefaults: '使用默认账号登录',
|
||||
localDeploymentNote: '本地部署 · 无遥测 · 数据不出机器',
|
||||
tokenHint: '登录后 POST /api/auth/login 返回的 token 存入 localStorage',
|
||||
accessDenied: '你没有权限访问该资源',
|
||||
passwordMismatch: '两次密码不一致',
|
||||
passwordTooShort: '密码长度至少 6 个字符',
|
||||
|
||||
Reference in New Issue
Block a user