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
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
1 changed files with 3 additions and 0 deletions

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);
}
}