Skip to content

[frontend] if users/current returns 500, user is logged out #1545

@alxndrsn

Description

@alxndrsn

Expected

500 response implies a problem in the server, not with the information submitted by the client. A 500 response to /v1/sessions/current should not log the user out.

Code

Maybe some more nuanced handling at https://github.com/getodk/central-frontend/blob/06ce7fdae3360fe0cb8b96f236a887442f56c34f/src/util/session.js#L263-L274 would help.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendRequires a change to the UI

    Type

    No type

    Projects

    Status

    🕒 backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions