mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
this should be appRouter
This commit is contained in:
parent
24f6d88308
commit
b50c06b0f5
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ class AppRouter {
|
|||
appRouter.showLocalLogin(apiClient.serverId());
|
||||
} else if (data.status === 403) {
|
||||
if (data.errorCode === 'ParentalControl') {
|
||||
const isCurrentAllowed = this.currentRouteInfo ? (this.currentRouteInfo.route.anonymous || this.currentRouteInfo.route.startup) : true;
|
||||
const isCurrentAllowed = appRouter.currentRouteInfo ? (appRouter.currentRouteInfo.route.anonymous || appRouter.currentRouteInfo.route.startup) : true;
|
||||
|
||||
// Bounce to the login screen, but not if a password entry fails, obviously
|
||||
if (!isCurrentAllowed) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue