Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/email-orgs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#5 — Email + forgot password
email.go: stdlib-only SMTP mailer from env (SMTP_HOST/PORT/USER/PASS/FROM, as configured in/etc/cairn-license/env;SMTP_PASSWORD/MAIL_FROMaccepted as aliases). Implicit TLS on 465, STARTTLS otherwise. All sends async — handler timing never reveals account existence.reset.go:POST /v1/password-resetalways 204; existing account gets a 1-hour single-use token mailed asreset.html?token=….POST /v1/password-reset/confirmburns the token on first attempt, sets the password, revokes all sessions. Rate-limited via the existing limiter.#6 — Organizations
GET /v1/licensesis now org-scoped; label editing requires org admin.Tests: register→org, full reset flow (oracle-free, single-use, session revocation), invite→accept→member visibility, role rails, removal semantics, migration. All green on the runner.