Input box, sidebar, ws connection

This commit is contained in:
metacryst
2025-10-03 11:44:00 -05:00
parent 989dbd88a0
commit d02103a0bc
16 changed files with 360 additions and 56 deletions

View File

@@ -7,7 +7,7 @@ import (
"log"
"os"
"github.com/alexedwards/argon2id"
// "github.com/alexedwards/argon2id"
)
type User struct {
@@ -54,14 +54,5 @@ func InitDB() error {
DB = result
// Use default recommended parameters
hash, err := argon2id.CreateHash("hunter2", argon2id.DefaultParams)
if err != nil {
log.Fatal(err)
}
fmt.Println("Argon2 Hash:")
fmt.Println(hash)
return nil
}