Skip to content

Commit 994588c

Browse files
committed
Set the old theme on admin center until new theme is done
1 parent 91178d7 commit 994588c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/Http/Middleware/AdminAuthenticate.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
namespace Pterodactyl\Http\Middleware;
2626

27+
use Theme;
2728
use Closure;
2829
use Illuminate\Contracts\Auth\Guard;
2930

@@ -68,6 +69,8 @@ public function handle($request, Closure $next)
6869
return abort(403);
6970
}
7071

72+
// @TODO: eventually update admin themes
73+
Theme::set('default');
7174
return $next($request);
7275
}
7376
}

0 commit comments

Comments
 (0)