Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
This repository was archived by the owner on May 5, 2025. It is now read-only.

improve Authentication::resumeSession() #5

Open
@xorinzor

Description

@xorinzor

Currently if fetching the user fails, the system will remove the token from localStorage and log you out.

However, this will always happen, not only with an unauthorized response. (ie: also when the server is not reachable, offline, etc).

todo:

  • check on type of error and handle accordingly
  • if server is offline or unreachable, periodically retry?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions