Introduce filament

This commit is contained in:
xiaomlove
2022-06-27 01:39:01 +08:00
parent aae45835ee
commit 1aca20070d
92 changed files with 3535 additions and 83 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\Http\Middleware;
use Filament\Http\Middleware\Authenticate;
class Filament extends Authenticate
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param \Illuminate\Http\Request $request
* @return string|null
*/
protected function redirectTo($request): string
{
return getSchemeAndHttpHost() . '/login.php';
}
}