Skip to content

Bug: login and signup handlers do not reject already authenticated users #311

Closed

Description

@aadityakumarsah

Currently, the login and signup handlers do not check if a user is already authenticated. This allows active sessions to hit these endpoints, which can cause unexpected state overlaps, double rate-limit consumption, and potential security issues.

These handlers should verify the session context and throw an error early if a user is already logged in.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions