dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit d7dbc01a0fc360b30420dee796a84c0488fbc171
parent 709d00aa2d9dbb0d8a569a970840c9dd21bed186
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed,  9 Nov 2022 20:15:54 -0800

useless

Diffstat:
Mpkg/database/tableUsers.go | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/pkg/database/tableUsers.go b/pkg/database/tableUsers.go @@ -470,7 +470,6 @@ func CreateZeroUser() (User, UserErrors) { } func createUser(username, password, repassword, gpgPublicKey string, isAdmin bool, verified bool, temp bool, registrationDuration int64, signupInfoEnc string) (User, UserErrors) { - username = strings.TrimSpace(username) var errs UserErrors hashedPassword, err := NewPasswordValidator(password).CompareWith(repassword).Hash() if err != nil {