|
@@ -164,7 +164,7 @@ const handleRegister = () => {
|
|
|
registerType: 'email',
|
|
registerType: 'email',
|
|
|
name: registerForm.name.trim(),
|
|
name: registerForm.name.trim(),
|
|
|
email: registerForm.email.trim(),
|
|
email: registerForm.email.trim(),
|
|
|
- username: registerForm.email.trim(),
|
|
|
|
|
|
|
+ username: registerForm.name.trim(),
|
|
|
password: registerForm.password,
|
|
password: registerForm.password,
|
|
|
captcha: registerForm.emailCode.trim(),
|
|
captcha: registerForm.emailCode.trim(),
|
|
|
captchaId: registerForm.captchaId,
|
|
captchaId: registerForm.captchaId,
|