Add session authentication

This commit is contained in:
Kevin Thomas
2021-07-29 22:24:39 -07:00
parent 2439fc8813
commit a9adbdc856
5 changed files with 10 additions and 18 deletions

View File

@@ -41,7 +41,7 @@ const router = new VueRouter({
})
router.beforeEach((to, from, next) => {
if (to.name === 'TMP_Home') {
if (to.name === 'Home') {
instance.get('/auth')
.then(response => {
if (response.status === 200) {