这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions frontend/src/components/Modals/Password/MultiUserAuth.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export default function MultiUserAuth() {
<input
name="username"
type="text"
placeholder="Username"
placeholder={t("login.multi-user.placeholder-username")}
className="bg-zinc-900 text-white placeholder-white/20 text-sm rounded-md p-2.5 w-full h-[48px] md:w-[300px] md:h-[34px]"
required={true}
autoComplete="off"
Expand All @@ -309,7 +309,7 @@ export default function MultiUserAuth() {
<input
name="password"
type="password"
placeholder="Password"
placeholder={t("login.multi-user.placeholder-password")}
className="bg-zinc-900 text-white placeholder-white/20 text-sm rounded-md p-2.5 w-full h-[48px] md:w-[300px] md:h-[34px]"
required={true}
autoComplete="off"
Expand All @@ -324,7 +324,7 @@ export default function MultiUserAuth() {
type="submit"
className="md:text-[#46C8FF] md:bg-transparent text-[#222628] text-sm font-bold focus:ring-4 focus:outline-none rounded-md border-[1.5px] border-[#46C8FF] md:h-[34px] h-[48px] md:hover:text-white md:hover:bg-[#46C8FF] bg-[#46C8FF] focus:z-10 w-full"
>
{loading ? "Validating..." : "Login"}
{loading ? "Validating..." : t("login.multi-user.login")}
</button>
<button
type="button"
Expand Down
8 changes: 6 additions & 2 deletions frontend/src/locales/zh/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,16 @@ const TRANSLATIONS = {
login: {
"multi-user": {
welcome: "欢迎!",
"placeholder-username": "请输入用户名",
"placeholder-password": "请输入密码",
login: "登录",
Validating: "登录",
"forgot-pass": "忘记密码",
reset: "重置",
},
"sign-in": {
start: null,
end: null,
start: "登录你的",
end: "账户",
},
},

Expand Down