6/8/1404
This commit is contained in:
+2
-2
@@ -86,7 +86,7 @@ router.beforeEach(async (to, from, next) => {
|
||||
}
|
||||
// Start a new timeout to reset fingerprint after 5 seconds of inactivity
|
||||
if (from.name !== 'login' || from.name !== undefined) {
|
||||
console.log(from.name)
|
||||
// console.log(from.name)
|
||||
timeoutId = setTimeout(async () => {
|
||||
if (hasFingerPrint) {
|
||||
fingerPosition = false
|
||||
@@ -126,7 +126,7 @@ router.beforeEach(async (to, from, next) => {
|
||||
goToLogin(to, next) // Redirect to login if authentication fails
|
||||
}
|
||||
} else {
|
||||
console.log('salam')
|
||||
// console.log('salam')
|
||||
if (from.path === '/') {
|
||||
// goToHome(to, next)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user