Skip to content

New/reset installation fails when there's an existing login cookie for the user #2661

Open

Description

@ZeiP

It causes an error message like

ActiveRecord::RecordNotFound (Couldn't find User with 'id'=1):
lib/login_system.rb:148:in `get_current_user'
lib/login_system.rb:105:in `login_required'
lib/login_system.rb:86:in `login_or_feed_token_required'

This seems to be caused by the browser returning a login cookie, which causes Tracks to think the user is already logged in but failing to find a matching user.

Activity

  1. added
    bug 🐛Problems with the code that result in unexpected or bad behavior
    on Sep 13, 2021
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

    bug 🐛Problems with the code that result in unexpected or bad behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions