PHP Classes

File: public/js/frontend/auth-guard.js

Recommend this page to a friend!
  Classes of Istvan Dobrentei   PHP Timesheet Management System   public/js/frontend/auth-guard.js   Download  
File: public/js/frontend/auth-guard.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Timesheet Management System
Manage project tasks and the respective work times
Author: By
Last change:
Date: 5 years ago
Size: 161 bytes


Class file image Download
import store from './store' export default (to, from, next) => { if(store.getters.isAuthenticated){ next() }else{ next('/login') } }