mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-23 05:34:45 +02:00
chore: unused files & code related to old auth
This commit is contained in:
parent
cdd46de274
commit
e5069e754d
@ -35,8 +35,6 @@ class RouteServiceProvider extends ServiceProvider
|
|||||||
|
|
||||||
Route::middleware(['auth.session', RequireTwoFactorAuthentication::class])
|
Route::middleware(['auth.session', RequireTwoFactorAuthentication::class])
|
||||||
->group(base_path('routes/base.php'));
|
->group(base_path('routes/base.php'));
|
||||||
|
|
||||||
Route::middleware('guest')->prefix('/auth')->group(base_path('routes/auth.php'));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::middleware(['api', RequireTwoFactorAuthentication::class])->group(function () {
|
Route::middleware(['api', RequireTwoFactorAuthentication::class])->group(function () {
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
@extends('templates/wrapper', [
|
|
||||||
'css' => ['body' => 'bg-neutral-900']
|
|
||||||
])
|
|
||||||
|
|
||||||
@section('container')
|
|
||||||
<div id="app"></div>
|
|
||||||
@endsection
|
|
@ -1,8 +0,0 @@
|
|||||||
@extends('templates/wrapper', [
|
|
||||||
'css' => ['body' => 'bg-neutral-800'],
|
|
||||||
])
|
|
||||||
|
|
||||||
@section('container')
|
|
||||||
<div id="modal-portal"></div>
|
|
||||||
<div id="app"></div>
|
|
||||||
@endsection
|
|
@ -1,44 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>{{ config('app.name') }}</title>
|
|
||||||
|
|
||||||
@section('meta')
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
|
||||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
||||||
<meta name="robots" content="noindex">
|
|
||||||
<link rel="shortcut icon" href="/pelican.ico">
|
|
||||||
<meta name="msapplication-config" content="/favicons/browserconfig.xml">
|
|
||||||
<meta name="theme-color" content="#0e4688">
|
|
||||||
@show
|
|
||||||
|
|
||||||
@section('user-data')
|
|
||||||
@if(!is_null(Auth::user()))
|
|
||||||
<script>
|
|
||||||
window.PanelUser = {!! json_encode(Auth::user()->toReactObject()) !!};
|
|
||||||
</script>
|
|
||||||
@endif
|
|
||||||
@show
|
|
||||||
|
|
||||||
<script>window.SiteConfiguration = {!! json_encode($siteConfiguration) !!};</script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
@import url('//fonts.bunny.net/css?family=Rubik:300,400,500&display=swap');
|
|
||||||
@import url('//fonts.bunny.net/css?family=IBM+Plex+Mono|IBM+Plex+Sans:500&display=swap');
|
|
||||||
</style>
|
|
||||||
|
|
||||||
@yield('assets')
|
|
||||||
</head>
|
|
||||||
<body class="{{ $css['body'] ?? 'bg-neutral-50' }}">
|
|
||||||
@section('content')
|
|
||||||
@yield('above-container')
|
|
||||||
@yield('container')
|
|
||||||
@yield('below-container')
|
|
||||||
@show
|
|
||||||
@section('scripts')
|
|
||||||
{!! $asset->js('main.js') !!}
|
|
||||||
@show
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
x
Reference in New Issue
Block a user