We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e00294 commit 9b3755cCopy full SHA for 9b3755c
public/js/app.js
@@ -2337,6 +2337,10 @@ __webpack_require__.r(__webpack_exports__);
2337
message: 'Logout Successful!'
2338
});
2339
2340
+ localStorage.removeItem("auth");
2341
+
2342
+ _this.$store.commit('SET_AUTHENTICATED', false);
2343
2344
_this.$router.push({
2345
name: 'login'
2346
resources/js/pages/dashboard/index.vue
@@ -31,6 +31,8 @@ export default {
31
message:'Logout Successful!'
32
33
34
35
+ this.$store.commit('SET_AUTHENTICATED', false);
36
this.$router.push({ name: 'login' });
37
38
}
0 commit comments