Skip to content

Enforce Single Session for all usersΒ #50

@PaulGoldschmidt

Description

@PaulGoldschmidt

Problem

Currently, a user can be logged in on multiple devices, yet MHC is not suited for multi-device-data-collection. Thus, need to enforce that only one device is active.

Solution

From my point of view a small function that loggs a user session into the firebase database and removes old session tokens from the database is the right approach here, happy to take other ideas into consideration @PSchmiedmayer @pauljohanneskraft.
Do we need to archive the old user sessions for some reason?

Additional context

cc @lukaskollmer

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions