ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)
Go aiai-agentsautonomous-agentsbug-bountydockergolanglinuxllmmcpnextjspenetration-testingpentestpostgresqlreareactred-teamsecuritysecurity-automationsqlitetypescript
Drop the unused database import and align the password constants.
protonmatter134562c3d9c0
diff --git a/server/auth.go b/server/auth.goindex 006d5fc..b3532d1 100644--- a/server/auth.go+++ b/server/auth.go@@ -19,7 +19,6 @@ import ("golang.org/x/crypto/bcrypt""github.com/Autumn-27/artex/config"- "github.com/Autumn-27/artex/db")const (@@ -27,7 +26,7 @@ const (authPassKey = "auth.password_hash"authPwdVersionKey = "auth.password_version"jwtTTL = 7 * 24 * time.Hour- keyChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"+ keyChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"// The lower bound matches the setup page's frontend validation — validation that// lives only in the frontend is as good as none: hitting the API directly bypasses