diff --git a/src/static/templates/admin/settings.hbs b/src/static/templates/admin/settings.hbs index 4ef25061..8df85bb2 100644 --- a/src/static/templates/admin/settings.hbs +++ b/src/static/templates/admin/settings.hbs @@ -1,6 +1,7 @@
- + 您正在使用纯文本 `ADMIN_TOKEN`,这是不安全的。
请使用 `vaultwarden hash` 或 `argon2` 生成安全的 Argon2 PHC 字符串。
参见: - +
{{#each elements}} {{#if editable}} @@ -30,9 +34,11 @@
- {{#case type "password"}} - + name="{{name}}" value="{{value}}" {{#if default}} placeholder="默认值: {{default}}" + {{/if}}> + {{#case type "password"}} + {{/case}}
@@ -44,7 +50,7 @@ - +
{{/case}} @@ -55,8 +61,10 @@
- - + +
请输入有效的电子邮件地址
@@ -67,8 +75,9 @@ {{/each}}
- +
@@ -153,4 +168,4 @@ --bs-alert-border-color: #ffecb5; } - + \ No newline at end of file