Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

aider: Update PIN2LOG check to look for a true value.

Alan Youngb05f0329e593
diff --git a/app/server/email/verification.go b/app/server/email/verification.go
index f7e3d7d3..21c69c46 100644
--- a/app/server/email/verification.go
+++ b/app/server/email/verification.go
@@ -26,7 +26,7 @@ func SendVerificationEmail(email string, pin string) error {
if os.Getenv("GOENV") == "development" {
// Development environment
- if os.Getenv("PIN2LOG") == "yes" {
+ if os.Getenv("PIN2LOG") == "true" {
// Dump pin to log output
fmt.Printf("Development mode: Verification pin is %s for email %s\n", pin, email)
} else {