mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-27 10:52:47 +01:00
Fixing scanner inodes, select all fix, starting ebook reader
This commit is contained in:
1 parent
01fdca4bf9
commit
3e5338ec8e
21 files changed
+661
-66
No files matched your search
@@ -1,7 +1,7 @@
|
||||
export default function ({ store, redirect, route, app }) {
|
||||
// If the user is not authenticated
|
||||
if (!store.state.user.user) {
|
||||
if (route.name === 'batch') return redirect('/login')
|
||||
if (route.name === 'batch' || route.name === 'index') return redirect('/login')
|
||||
return redirect(`/login?redirect=${route.fullPath}`)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user