From 589984cb966e6d40367b9e9f282a6011736be252 Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Sat, 22 Jul 2023 13:40:22 +0200 Subject: [PATCH] Factoring the model user and correcting password --- invite.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/invite.go b/invite.go index 6585938..e4823c4 100644 --- a/invite.go +++ b/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