Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Logout as function instead of router link. #11

@nonsintetic

Description

@nonsintetic

Is your feature request related to a problem? Please describe.
Logging out when using JWT-based autnentication isn't done via a request to the API. Currently the App Bar only supports setting a router link for logout.

Describe the solution you'd like
Logout button should support calling a function or emit an event so you can just implement your own logic.

Additional context
I've solved it by creating a copy of the original component in my source and modifying it, but it won't benefit from any updates that way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions