mirror of
https://gitee.com/gitea/gitea
synced 2025-11-03 08:00:24 +08:00
Optimize validate
This commit is contained in:
@@ -65,7 +65,7 @@ func SignUp(form auth.RegisterForm, data base.TmplData, req *http.Request, r ren
|
||||
|
||||
//Front-end should do double check of password.
|
||||
u := &models.User{
|
||||
Name: form.UserName,
|
||||
Name: form.Username,
|
||||
Email: form.Email,
|
||||
Passwd: form.Password,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user