refactor(sitesvc): remove signup and verification
Account creation moved to admin, which owns accounts, and the marketing form now posts there. sitesvc keeps the contact mailer only. DEPLOY LAST: sitesvc's verify endpoint must stay live until every outstanding pending signup has expired, or an in-flight verification link breaks. Do not roll this out until the site change has been live 24 hours and site_pending_signups is empty. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
+1
-4
@@ -43,12 +43,9 @@ func main() {
|
||||
if mailCfg.Enabled() {
|
||||
log.Printf("smtp enabled (%s) contact form delivers to %s", mailCfg.Host, mailCfg.To)
|
||||
} else {
|
||||
log.Println("warning: SMTP_HOST/SMTP_FROM not set the contact and signup forms will refuse submissions")
|
||||
log.Println("warning: SMTP_HOST/SMTP_FROM not set the contact form will refuse submissions")
|
||||
}
|
||||
|
||||
if os.Getenv("PUBLIC_URL") == "" {
|
||||
log.Println("warning: PUBLIC_URL is unset verification links will be relative and will not work")
|
||||
}
|
||||
if os.Getenv("SITE_ORIGIN") == "" {
|
||||
log.Println("warning: SITE_ORIGIN is unset cross-origin browser requests will be refused")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user