Skip to content

Add RFC docs for the phpBB core events login/password-reset protection would need - #1

Merged
zepich merged 1 commit into
mosparo:mainfrom
bonelifer:add-rfc-docs-login-password-reset
Sep 3, 2026
Merged

Add RFC docs for the phpBB core events login/password-reset protection would need#1
zepich merged 1 commit into
mosparo:mainfrom
bonelifer:add-rfc-docs-login-password-reset

Conversation

@bonelifer

Copy link
Copy Markdown
Contributor

Adds docs/events/ with four RFC docs, following the same shape phpBB's own dev docs use for event proposals (rationale, exact current markup, exact proposed insertion, how it was verified against release-3.3.17 core).

  • login_body_buttons_before.txt — the one template event needed to close the login-form gap. core.login_box_before already exists and can reject a bad attempt; the template just has nowhere to render a widget. Same proposed name as an identical gap another extension of mine ran into independently, worth being one shared request rather than two competing ones if this ever gets filed against phpBB.
  • ucp_remind_request_before.txt — a real verification PHP event for the "forgot password, enter your email" step.
  • ucp_reset_password_verify_before.txt — the matching PHP event for the "enter your new password" step, plugging directly into the $errors array that step already has.
  • ucp_reset_password_widget_before.txt — one shared template event covering both reset steps, since they render through the same file. (ucp_resend.html turned out to be a separate feature, resending the account-activation email, not part of this flow, so it's not part of this proposal.)

If any of these get filed as real requests, that happens at tracker.phpbb.com: log in with a phpbb.com account (not area51.phpbb.com, those are separate account systems), click Create, and use the RFC doc's rationale as the ticket description.

Not proposing any changes to this repo's own code, these are reference material for that future ask, kept here so the research doesn't need to be redone.

Documents the phpBB core events needed to protect the login form and
both steps of the password-reset flow the same way registration and
posting are already protected: one existing PHP event on login, two
new PHP verification events for the password-reset request/reset
steps, and one shared template event both reset steps render through.
@zepich
zepich merged commit 991839c into mosparo:main Sep 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants