Set the old theme on admin center until new theme is done

This commit is contained in:
Dane Everitt
2017-01-20 17:19:42 -05:00
parent 91178d78a4
commit 994588c82d

View File

@@ -24,6 +24,7 @@
namespace Pterodactyl\Http\Middleware;
use Theme;
use Closure;
use Illuminate\Contracts\Auth\Guard;
@@ -68,6 +69,8 @@ class AdminAuthenticate
return abort(403);
}
// @TODO: eventually update admin themes
Theme::set('default');
return $next($request);
}
}