chore: remove todo, syntax

This commit is contained in:
kekskurse 2025-03-13 18:17:01 +01:00
parent 66d4312695
commit d724363720
2 changed files with 1 additions and 2 deletions

View file

@ -15,5 +15,5 @@ CREATE TABLE mail (
validationCode TEXT NOT NULL UNIQUE, validationCode TEXT NOT NULL UNIQUE,
isValidated BOOLEAN NOT NULL DEFAULT 0, isValidated BOOLEAN NOT NULL DEFAULT 0,
isPrimary BOOLEAN NOT NULL DEFAULT 0 isPrimary BOOLEAN NOT NULL DEFAULT 0
) );

View file

@ -57,7 +57,6 @@ func TestWriteUser(t *testing.T) {
}) })
} }
// TODO: Check if pw hash are not unique
var pw1 string var pw1 string
var pw2 string var pw2 string
err := store.db.QueryRow("SELECT password FROM users WHERE id = 1").Scan(&pw1) err := store.db.QueryRow("SELECT password FROM users WHERE id = 1").Scan(&pw1)