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