mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-19 01:46:03 +02:00
Attempt to standardize api errors
This commit is contained in:
@@ -176,13 +176,13 @@
|
||||
|
||||
},
|
||||
|
||||
beforeRouteEnter (to, from, next) {
|
||||
if ( ! localStorage.getItem('jwt')) {
|
||||
return next('login')
|
||||
}
|
||||
// beforeRouteEnter (to, from, next) {
|
||||
// if ( ! localStorage.getItem('jwt')) {
|
||||
// return next('login')
|
||||
// }
|
||||
|
||||
next()
|
||||
}
|
||||
// next()
|
||||
// }
|
||||
}
|
||||
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user