refactor: 로그인폼 encType attribute 추가

This commit is contained in:
yoosangwook 2024-08-22 10:17:01 +09:00
parent 35a7f28ac9
commit ba91c17b1d

View File

@ -12,7 +12,7 @@ export default function Login() {
</div> </div>
<div className="mt-10 sm:mx-auto sm:w-full sm:max-w-sm"> <div className="mt-10 sm:mx-auto sm:w-full sm:max-w-sm">
<form action={login} method="POST" className="space-y-6"> <form action={login} method="POST" encType="application/json" className="space-y-6">
<div> <div>
<label htmlFor="userId" className="block text-sm font-medium leading-6 text-gray-900"> <label htmlFor="userId" className="block text-sm font-medium leading-6 text-gray-900">
User ID User ID