Finish the big cleanup

This commit is contained in:
2024-04-21 22:52:21 +02:00
parent 6e3c40ccb5
commit baad757371
8 changed files with 316 additions and 250 deletions

View File

@ -7,6 +7,7 @@ import (
"golang.org/x/crypto/bcrypt"
"stevenlr.com/timer/model"
"stevenlr.com/timer/utils"
)
func initializeDatabaseV1(db *sql.DB) error {
@ -49,7 +50,7 @@ func initializeDatabaseV1(db *sql.DB) error {
userName := "admin"
userPassword := "admin"
salt, err := GenerateRandomString(33)
salt, err := utils.GenerateRandomString(33)
if err != nil {
return err
}