Factoring the model user and correcting password
This commit is contained in:
parent
5ca2555b76
commit
589984cb96
1 changed files with 7 additions and 7 deletions
14
invite.go
14
invite.go
|
@ -123,13 +123,13 @@ func handleInvitationCode(w http.ResponseWriter, r *http.Request) {
|
|||
// Common functions for new account
|
||||
|
||||
type NewAccountData struct {
|
||||
Username string
|
||||
DisplayName string
|
||||
GivenName string
|
||||
Surname string
|
||||
Mail string
|
||||
SuggestPW string
|
||||
OtherMailbox string
|
||||
Username string
|
||||
DisplayName string
|
||||
GivenName string
|
||||
Surname string
|
||||
Mail string
|
||||
SuggestPW string
|
||||
CN string
|
||||
|
||||
ErrorUsernameTaken bool
|
||||
ErrorInvalidUsername bool
|
||||
|
|
Loading…
Reference in a new issue