Factoring the model user and correcting password

This commit is contained in:
Chris Mann 2023-07-22 13:40:22 +02:00
parent 5ca2555b76
commit 589984cb96

View file

@ -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