Skip to content

Forgot password button does not seem to do anything #34

Closed

Description

@MinosChatzidakis

Before submitting

  • I've searched existing issues and this isn't a duplicate.
  • This is a reproducible bug in Calnode — not a configuration/setup question or a feature request.

What's the bug?

In the login page, the 'forgot password' button does not seem to do anything. It merely refreshes the page. I don't know if it is a bug, or a feature that was forgotten, or if I am missing something, but I would expect an email with a 'reset password' button or something similar.

Steps to reproduce

  1. Go to the login page
  2. Click 'forgot password'

Calnode version / commit

v0.8.0

How are you running Calnode?

Railway / other PaaS

Logs, screenshots, or anything else

No response

Activity

  1. pullfrog commented on Sep 7, 2026

    @pullfrog
    Contributor
  2. shockalotti commented on Sep 17, 2026

    @shockalotti
    Contributor

    Implemented and shipped. The login page link now leads somewhere real:

    • New POST /v1/auth/password/forgot - always returns the same generic message (no account enumeration); archived and email-login-disabled accounts silently get no email.
    • New POST /v1/auth/password/reset - single-use hashed token, 1-hour expiry, revokes all sessions, signs straight in. Mirrors the magic-link flow including its rate limiter.
    • New public pages /admin/forgot-password and /admin/reset-password?token=...

    Verified end to end in production (reset email received, new password set, signed in, old password rejected). Covered by nine tests in password_reset_test.go.

    Fix is on branch fix/mcp-bearer-archived (commit 659626d, migration 00058).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions