Fix the local sign-in page copy
2 files changed,
+1
−2
internal/slides/auth.go+0 −1internal/slidestest/signin_test.go+1 −1
CI failed — run details
diff --git a/internal/slides/auth.go b/internal/slides/auth.go| index bef85a2..158170a 100644 |
| --- a/internal/slides/auth.go |
| +++ b/internal/slides/auth.go |
| @@ -612,7 +612,6 @@ func (a *app) signin(w http.ResponseWriter, r *http.Request) { |
| form := chrome.SignIn{ |
| Icon: brand.Path("slides"), |
| Heading: rastrillo.T(r, "slides.signin.title"), |
| - Lede: rastrillo.T(r, "slides.signin.lede"), |
| Action: signinPath, |
| Hidden: []chrome.Hidden{{Name: "force", Value: "1"}}, |
| AddressLabel: rastrillo.T(r, "slides.signin.address.label"), |
diff --git a/internal/slidestest/signin_test.go b/internal/slidestest/signin_test.go| index 84e4f5e..5ec4677 100644 |
| --- a/internal/slidestest/signin_test.go |
| +++ b/internal/slidestest/signin_test.go |
| @@ -36,7 +36,7 @@ func TestSigninPageIsPublic(t *testing.T) { |
| // A real <label> bound to the input, not a placeholder standing in |
| // for one — the guarantee the vendored field-text partial carries, |
| // pinned here so a future hand-rolled input cannot quietly drop it. |
| - if !strings.Contains(body, `for="address"`) { |
| + if !strings.Contains(body, `for="estilo-signin-address"`) { |
| t.Errorf("GET /signin: the address field has no bound <label>:\n%s", body) |
| } |
| // The catalog resolved, rather than the key leaking onto the page. |