forked from forgejo/forgejo
basic authentications
This commit is contained in:
parent
79ea34e70e
commit
1652dd5068
13 changed files with 334 additions and 49 deletions
|
@ -25,6 +25,7 @@ type RegisterForm struct {
|
|||
Email string `form:"email" binding:"Required;Email;MaxSize(50)"`
|
||||
Password string `form:"passwd" binding:"Required;MinSize(6);MaxSize(30)"`
|
||||
RetypePasswd string `form:"retypepasswd"`
|
||||
LoginType string `form:"logintype"`
|
||||
}
|
||||
|
||||
func (f *RegisterForm) Name(field string) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue