fix: csfr error on login
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 2m8s
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 2m8s
This commit is contained in:
@@ -30,13 +30,13 @@ class Kernel extends HttpKernel
|
|||||||
*/
|
*/
|
||||||
protected $middlewareGroups = [
|
protected $middlewareGroups = [
|
||||||
'web' => [
|
'web' => [
|
||||||
|
\App\Http\Middleware\UniversalTenancy::class,
|
||||||
\App\Http\Middleware\EncryptCookies::class,
|
\App\Http\Middleware\EncryptCookies::class,
|
||||||
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
||||||
\Illuminate\Session\Middleware\StartSession::class,
|
\Illuminate\Session\Middleware\StartSession::class,
|
||||||
// \Illuminate\Session\Middleware\AuthenticateSession::class,
|
// \Illuminate\Session\Middleware\AuthenticateSession::class,
|
||||||
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||||
\App\Http\Middleware\VerifyCsrfToken::class,
|
\App\Http\Middleware\VerifyCsrfToken::class,
|
||||||
\App\Http\Middleware\UniversalTenancy::class,
|
|
||||||
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
6
cookies.txt
Normal file
6
cookies.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Netscape HTTP Cookie File
|
||||||
|
# https://curl.se/docs/http-cookies.html
|
||||||
|
# This file was generated by libcurl! Edit at your own risk.
|
||||||
|
|
||||||
|
#HttpOnly_localhost FALSE / FALSE 1770147603 growup_session eyJpdiI6Ill5ZkU3Rlg4cC9HMzNxR204K0JhcUE9PSIsInZhbHVlIjoiWEIvQmhZeFEzNWpDaTNRdXBRbW45Nm44bk1UMC9JZUVhY3RneS9hWm5VSGV3RnhFR0ttVENmeWt0TVQxZGFOYURPc0JYeitKdi9DbUVEdzltcFJnYkk0T2RTektNdnJmdVJwUUdZbFNENGUwVmYyS3ZYTUJNdE9zMHZSdUk0bjYiLCJtYWMiOiI5ODAxYzU4Y2U4NmFmODkwZWQyMDMxZThmZGNjZDk4MThmOTQwNTdjMTA2ODgyZDU4N2E1MzNhNmViMmRhMWE5IiwidGFnIjoiIn0%3D
|
||||||
|
localhost FALSE / FALSE 1770147603 XSRF-TOKEN eyJpdiI6IkdiVzdmTmNNYmNNSjJCbkQ4blc0cFE9PSIsInZhbHVlIjoidVJnbGxsMVNDdmNGc0UyTzIyOTJ1TS8ydEUyS3o5NFNwRVovS0t1a0puUm5keFB1eWFsTVU5YTM0NitXMkZnc1F3cUlraTdNSitpelRHMEFPcFUxWlpWOWdSemhzZHF4ODZyVmVmaW9yYUJOd2Y0cjdFWml1cStYS1N1bVE5OEgiLCJtYWMiOiI4MjgzMjFlODViMGIyNzNjYjQ0NGNkNzU1MzgyYTMxOThkNDk0MjNhNjU4ODFkNDc5ZTI4YjcwYjdlMDQ2ZWZkIiwidGFnIjoiIn0%3D
|
||||||
@@ -9,7 +9,6 @@ use App\Http\Middleware\UniversalTenancy;
|
|||||||
|
|
||||||
Route::middleware([
|
Route::middleware([
|
||||||
'web',
|
'web',
|
||||||
UniversalTenancy::class,
|
|
||||||
])->group(function () {
|
])->group(function () {
|
||||||
|
|
||||||
// Root route handles both Central and Tenant contexts
|
// Root route handles both Central and Tenant contexts
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ Route::get('/', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Super Admin Routes
|
// Super Admin Routes
|
||||||
Route::group(['prefix' => 'super-admin', 'as' => 'super-admin.', 'middleware' => ['web']], function () {
|
Route::group(['prefix' => 'super-admin', 'as' => 'super-admin.'], function () {
|
||||||
// Session
|
// Session
|
||||||
Route::get('login', [SessionController::class, 'create'])->name('session.create');
|
Route::get('login', [SessionController::class, 'create'])->name('session.create');
|
||||||
Route::post('login', [SessionController::class, 'store'])->name('session.store');
|
Route::post('login', [SessionController::class, 'store'])->name('session.store');
|
||||||
|
|||||||
0
storage/test_write
Normal file → Executable file
0
storage/test_write
Normal file → Executable file
Reference in New Issue
Block a user