ARTICLE AD BOX
If I sign up to my website in localhost (or production) I can use forms for example to logout, but I can't use any forms (logging out, commenting) in the tab email verification opens like this in web.php:
Route::get('/email/verify', function () { return view('auth.verify-email'); })->middleware('auth')->name('verification.notice'); Route::post('/email/verification-notification', function (Request $request) { $request->user()->sendEmailVerificationNotification(); return back()->with('message', 'Verification link sent!'); })->middleware(['auth', 'throttle:6,1'])->name('verification.send'); Route::get('/email/verify/{id}/{hash}', function (EmailVerificationRequest $request) { $request->fulfill(); // return redirect()->route('verification.success');; return redirect()->route('dashboard')->with('success', 'ایمیل با موفقیت تایید شد'); })->middleware(['auth', 'signed'])->name('verification.verify');Links work, fetch post requests work. Forms don't. Also, everything works in the tab that was opened before (email verification opens a new tab of course). Also if I go to the networks tab in inspect elements and click on the page main html, it opens a new tab, on right (not right of current tab, but just right of the window, like a new tab, regardless of position of current tab) and that tab also works. tabs made with target="_blank" also are BROKEN and also pop up besides the broken tab, not in right like a new tab,
I've tried making using query selector + submit() in inspect element commandline. doesn't work.
None of forms work anywhere in the website. so I think sharing a blade file of dashboard for example wouldn't be useful.
I have been debugging for 2 days so I am ready for getting 999 downvotes, I don't fear you.
