Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

login username bug #153

Closed
wants to merge 2 commits into from
Closed
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
10 changes: 5 additions & 5 deletions frontend/src/Pages/LoginPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ const Login = () => {

{/* Username Input */}
<div className="mb-5">
<label className="block mb-2 font-semibold text-gray-700 " htmlFor="username">Username</label>
<label className="block mb-2 font-semibold text-gray-700 " htmlFor="username">Email</label>
<input
type="text"
id="username"
value={username}
type="email"
id="email"
value={email}
onChange={(e) => setUsername(e.target.value)}
placeholder="Enter your username"
placeholder="Enter your name"
className="w-full px-4 py-2 transition duration-300 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"
required
/>
Expand Down