Skip to content

When no account is active, ensure that the root level route is always choose-account page #1369

Open
@PIG208

Description

@PIG208

This can happen if the account is logged out on a non-AccountRoute route. Normally this would be a page reachable from logged in account, such as "About Zulip" page.

When that happens, routes to be removed on logged out are removed, leaving only the "About Zulip" page on the navigator stack. Since the navigator stack is non-empty, the choose-account page route is not pushed onto the stack. The symptom is that the user can no longer log into another account.

Assigned a higher priority because this bug is relatively easy to reproduce:

  • From the home page, navigate to "About Zulip" through the main-menu bottom sheet
  • Invalidate the account's API key on web

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-apiImplementing specific parts of the Zulip server API

    Type

    No type

    Projects

    • Status

      No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions