chore: remove todo, syntax
This commit is contained in:
parent
66d4312695
commit
d724363720
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||||
)
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Reference in a new issue