Skip to content

Forgot password link on the sign-in page - #12

Merged
karl-cta merged 10 commits into
mainfrom
feature/password-reset
Oct 8, 2026
Merged

karl-cta merged 10 commits into
mainfrom
feature/password-reset

Conversation

@karl-cta

@karl-cta karl-cta commented Oct 8, 2026

Copy link
Copy Markdown
Owner

What and why

A member who forgets their password has nothing on the sign-in page today: an administrator has to issue a temporary password, or the host has to run statup reset-password. Since email notifications landed, Statup can send mail, so the sign-in page gains a "Forgot password?" link.

  • With a mail server (SMTP_*) and the page address set, the member receives a single-use link valid for one hour, and is signed in once they choose a new password; their other sessions are closed.
  • Without mail, the page explains what to do instead.
  • The answer is the same whether the address has an account or not, and requests are rate limited per address and per account.

Work in progress, one commit per step.

Checklist

@karl-cta
karl-cta marked this pull request as ready for review October 8, 2026 14:02
@karl-cta
karl-cta merged commit 3e117e5 into main Oct 8, 2026
6 checks passed
@karl-cta
karl-cta deleted the feature/password-reset branch October 8, 2026 15:58
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.

1 participant