fix: add cookie-parser middleware to fix 403 on protected routes, add autocomplete to login

This commit is contained in:
Mohan Ki
2026-07-27 16:12:02 +05:30
parent 5a7b4c7470
commit 0e379f4e15
3 changed files with 10 additions and 1 deletions
+1
View File
@@ -70,6 +70,7 @@ export default function LoginPage() {
onChange={e => setEmail(e.target.value)}
className="block w-full px-4 py-3 bg-[#1a1a1a] border border-gray-700 rounded-xl text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent transition-all"
placeholder="admin@ckqr.com"
autoComplete="username"
/>
</div>
+1
View File
@@ -63,6 +63,7 @@ export default function RegisterPage() {
onChange={e => setEmail(e.target.value)}
className="block w-full px-4 py-3 bg-[#1a1a1a] border border-gray-700 rounded-xl text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent transition-all"
placeholder="you@company.com"
autoComplete="username"
/>
</div>