diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-05-15 18:06:46 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-05-16 23:50:48 +0300 |
commit | 68069e1955f63219601a9dd9100b56075fb2099c (patch) | |
tree | af3d236c24cfe9bd6862576eb189bdc3cacf49cf /src/App.vue | |
parent | a3cbc659093a349adb998b36b16fbb382109868f (diff) | |
download | webui-vue-68069e1955f63219601a9dd9100b56075fb2099c.tar.xz |
Add logout commit for 401 response
Change the authentication logout from router to api interceptor,
so that if a user accidentally navigates to login page by clicking
the browser back button, they aren't automatically logged out.
Logouts would occur when hitting a 401 response or if the user
clicks the logout button from app header.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I6290070b63e724b75b3ac2fc39b3c7e814fbfc3e
Diffstat (limited to 'src/App.vue')
0 files changed, 0 insertions, 0 deletions