ishaq101 commited on
Commit
475d02c
·
1 Parent(s): 10cff2c

Fix: login console log

Browse files
Files changed (1) hide show
  1. src/app/components/Login.tsx +2 -0
src/app/components/Login.tsx CHANGED
@@ -192,6 +192,7 @@ export default function Login() {
192
  <input
193
  id="email"
194
  type="email"
 
195
  value={email}
196
  onChange={(e) => setEmail(e.target.value)}
197
  className="w-full px-3 py-2 text-sm rounded-xl border border-slate-200 bg-slate-50 focus:outline-none focus:ring-2 focus:ring-sky-400/30 focus:border-sky-400 placeholder:text-slate-300 transition"
@@ -207,6 +208,7 @@ export default function Login() {
207
  <input
208
  id="password"
209
  type="password"
 
210
  value={password}
211
  onChange={(e) => setPassword(e.target.value)}
212
  className="w-full px-3 py-2 text-sm rounded-xl border border-slate-200 bg-slate-50 focus:outline-none focus:ring-2 focus:ring-sky-400/30 focus:border-sky-400 placeholder:text-slate-300 transition"
 
192
  <input
193
  id="email"
194
  type="email"
195
+ autoComplete="username"
196
  value={email}
197
  onChange={(e) => setEmail(e.target.value)}
198
  className="w-full px-3 py-2 text-sm rounded-xl border border-slate-200 bg-slate-50 focus:outline-none focus:ring-2 focus:ring-sky-400/30 focus:border-sky-400 placeholder:text-slate-300 transition"
 
208
  <input
209
  id="password"
210
  type="password"
211
+ autoComplete="current-password"
212
  value={password}
213
  onChange={(e) => setPassword(e.target.value)}
214
  className="w-full px-3 py-2 text-sm rounded-xl border border-slate-200 bg-slate-50 focus:outline-none focus:ring-2 focus:ring-sky-400/30 focus:border-sky-400 placeholder:text-slate-300 transition"