Skip to content
This repository was archived by the owner on Jul 16, 2021. It is now read-only.
This repository was archived by the owner on Jul 16, 2021. It is now read-only.

[Proposal] Support for multiple remember tokens #971

@arondeparon

Description

@arondeparon

The current way of storing a "remember me" token in the the remember_token column with the user restricts the use of this feature to a single device.

Scenario:

  • User logs in on device X, uses "remember me". Remember token is created and stored in a cookie.
  • User logs in on device Y, uses "remember me". A new token is created and stored in a cookie.
  • Session expires on device X. User accesses application and finds himself logged out because the remember token is no longer valid.

A possible solution to this problem is to separate the remember tokens from the users table and store them in a separate remember_tokens table.

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