mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
feat: user signup
This commit is contained in:
@ -40,4 +40,5 @@ type SummaryViewModel struct {
|
||||
*Summary
|
||||
LanguageColors map[string]string
|
||||
Error string
|
||||
Success string
|
||||
}
|
||||
|
@ -7,6 +7,12 @@ type User struct {
|
||||
}
|
||||
|
||||
type Login struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
Username string `schema:"username"`
|
||||
Password string `schema:"password"`
|
||||
}
|
||||
|
||||
type Signup struct {
|
||||
Username string `schema:"username"`
|
||||
Password string `schema:"password"`
|
||||
PasswordRepeat string `schema:"password_repeat"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user