1
0
فهرست منبع

fix: hide mock credentials

Insouciant21 6 ماه پیش
والد
کامیت
4b7c3bbbb7
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/login/page.tsx

+ 2 - 2
app/login/page.tsx

@@ -62,7 +62,7 @@ export default function LoginPage() {
                 value={username}
                 value={username}
                 onChange={(e) => setUsername(e.target.value)}
                 onChange={(e) => setUsername(e.target.value)}
                 className="w-full px-5 py-3.5 bg-surface-container-high/50 border border-outline-variant/50 rounded-xl focus:ring-2 focus:ring-primary focus:border-transparent outline-none transition-all placeholder:text-outline text-on-surface shadow-inner"
                 className="w-full px-5 py-3.5 bg-surface-container-high/50 border border-outline-variant/50 rounded-xl focus:ring-2 focus:ring-primary focus:border-transparent outline-none transition-all placeholder:text-outline text-on-surface shadow-inner"
-                placeholder="请输入学号/工号 (stu 或 teacher)"
+                placeholder="请输入学号/工号"
                 required
                 required
               />
               />
             </div>
             </div>
@@ -74,7 +74,7 @@ export default function LoginPage() {
                 value={password}
                 value={password}
                 onChange={(e) => setPassword(e.target.value)}
                 onChange={(e) => setPassword(e.target.value)}
                 className="w-full px-5 py-3.5 bg-surface-container-high/50 border border-outline-variant/50 rounded-xl focus:ring-2 focus:ring-primary focus:border-transparent outline-none transition-all placeholder:text-outline text-on-surface shadow-inner"
                 className="w-full px-5 py-3.5 bg-surface-container-high/50 border border-outline-variant/50 rounded-xl focus:ring-2 focus:ring-primary focus:border-transparent outline-none transition-all placeholder:text-outline text-on-surface shadow-inner"
-                placeholder="请输入密码 (passwd)"
+                placeholder="请输入密码"
                 required
                 required
               />
               />
             </div>
             </div>