fix(ci): pgconn import path + reset-password token type + SMTP label
Three CI fixes from the U1+U2+U3 push: - internal/api/admin_users.go imported the standalone github.com/jackc/pgconn — that module isn't in go.sum and go vet caught it. Switch to github.com/jackc/pgx/v5/pgconn (the path used elsewhere in the package, e.g. auth_register.go and me_profile.go). - /reset-password/[token] dereferenced page.params.token without the undefined narrowing svelte-kit's typegen requires. Coalesce to '' on read and reject empty token at submit time with a clear error. - /admin/integrations SMTP card had a label without an associated control as the TLS row's leading column header. Switched to a span — the actual checkbox lives in the wrapping label below it.
This commit is contained in:
@@ -7,9 +7,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/go-chi/chi/v5"
|
||||
"github.com/jackc/pgconn"
|
||||
"github.com/jackc/pgerrcode"
|
||||
"github.com/jackc/pgx/v5"
|
||||
"github.com/jackc/pgx/v5/pgconn"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
|
||||
"git.fabledsword.com/bvandeusen/minstrel/internal/audit"
|
||||
|
||||
Reference in New Issue
Block a user