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

Logout as function instead of router link. #11

Open
nonsintetic opened this issue Nov 24, 2020 · 0 comments
Open

Logout as function instead of router link. #11

nonsintetic opened this issue Nov 24, 2020 · 0 comments

Comments

@nonsintetic
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant