Set the old theme on admin center until new theme is done
This commit is contained in:
parent
91178d78a4
commit
994588c82d
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue