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
|
// Common functions for new account
|
||||||
|
|
||||||
type NewAccountData struct {
|
type NewAccountData struct {
|
||||||
Username string
|
Username string
|
||||||
DisplayName string
|
DisplayName string
|
||||||
GivenName string
|
GivenName string
|
||||||
Surname string
|
Surname string
|
||||||
Mail string
|
Mail string
|
||||||
SuggestPW string
|
SuggestPW string
|
||||||
OtherMailbox string
|
CN string
|
||||||
|
|
||||||
ErrorUsernameTaken bool
|
ErrorUsernameTaken bool
|
||||||
ErrorInvalidUsername bool
|
ErrorInvalidUsername bool
|
||||||
|
|
Loading…
Reference in a new issue