mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 04:12:10 +00:00
Optimize validate
This commit is contained in:
parent
c6f2c23b05
commit
5959e344a9
3 changed files with 53 additions and 50 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue