File tree Expand file tree Collapse file tree 2 files changed +3
-23
lines changed
Expand file tree Collapse file tree 2 files changed +3
-23
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ function Login({ onClose, onLoginSuccess }) {
5555 < input
5656 id = "username"
5757 type = "text"
58- placeholder = "아이디 "
58+ placeholder = "이메일 "
5959 value = { formData . username }
6060 onChange = { handleChange }
6161 required
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ function SignUp() {
2626
2727 try {
2828 await axios . post ( `${ config . API_BASE_URL } /api/users/signup` , {
29- userId : formData . username ,
29+ userId : formData . email ,
3030 email : formData . email ,
3131 password : formData . password ,
32- name : formData . name ,
32+ name : formData . email ,
3333 } ) ;
3434
3535 alert ( '회원가입이 완료되었습니다!' ) ;
@@ -57,16 +57,6 @@ function SignUp() {
5757 required
5858 />
5959
60- < label htmlFor = "username" > 아이디 *</ label >
61- < input
62- id = "username"
63- type = "text"
64- placeholder = "사용할 아이디 입력"
65- value = { formData . username }
66- onChange = { handleChange }
67- required
68- />
69-
7060 < label htmlFor = "password" > 비밀번호 *</ label >
7161 < div className = "password-input-wrapper" >
7262 < input
@@ -99,16 +89,6 @@ function SignUp() {
9989 </ div >
10090 ) }
10191
102- < label htmlFor = "name" > 이름 *</ label >
103- < input
104- id = "name"
105- type = "text"
106- placeholder = "홍길동"
107- value = { formData . name }
108- onChange = { handleChange }
109- required
110- />
111-
11292 < div className = "signup-check" >
11393 < input type = "checkbox" id = "terms" required />
11494 < div >
You can’t perform that action at this time.
0 commit comments