vienalatina/apps/board/templates
Claude 3bd086ab0e
Say accounts cannot be created before the form is filled in
Running without GITEA_ADMIN_TOKEN is the safer configuration and is documented
as such, but the member form did not know: it offered "Crear también su cuenta"
ticked by default and reported "Falta GITEA_ADMIN_TOKEN" only on submit, after
three fields had been filled in.

That is the shape of failure this project has lost the most time to — something
that cannot happen, going unsaid until someone has relied on it. The form now
reads the config when it renders and says so, with a link to Gitea's create-user
page.

The checkbox is disabled rather than hidden, because "you cannot do this here"
is more use than an option that quietly is not there. The refusal itself stays
in the handler: a disabled input is a courtesy, and a hand-crafted POST still
meets the same error.

Verified: 104 checks. The form states the limit with no token and is unchanged
with one, and submitting create_account anyway still creates no member.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
2026-09-25 17:17:41 +00:00
..
base.html Write the site from the members area instead of Decap 2026-09-25 15:07:31 +00:00
comment_form.html Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
content_form.html Write the site from the members area instead of Decap 2026-09-25 15:07:31 +00:00
content_list.html Write the site from the members area instead of Decap 2026-09-25 15:07:31 +00:00
error.html Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
logged_out.html Brand Gitea's auth screens, and stop Salir overstating itself 2026-09-25 16:28:10 +00:00
login.html Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
member_created.html Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
member_new.html Say accounts cannot be created before the form is filled in 2026-09-25 17:17:41 +00:00
members.html Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
thread_form.html Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
thread.html Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
threads.html Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00