Skip to content

Clear deviceId correctly on logout #622

@Chinmay2107

Description

@Chinmay2107

Current behavior

  • Currently on navigating to and from launchpad and BOPIS the deviceId is removed from the state which results in multiple records creation on the backend which is not expected.
  • If the JWT token expires and the user logs in again, then the same deviceId will be used.

Expected behavior

  • deviceId should get cleared out only on manual logout by the user.

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

Additional information

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