修复 logout 重复的问题

This commit is contained in:
iVampireSP.com 2023-02-02 03:10:36 +08:00
parent 156e3fcb28
commit 16e1cc0c99
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -41,7 +41,6 @@ function () {
Route::withoutMiddleware(['banned', 'verified'])->group(
function () {
Route::view('banned', 'banned')->name('banned')->withoutMiddleware(['banned', 'verified']);
Route::post('logout', [AuthController::class, 'logout'])->name('logout')->withoutMiddleware(['banned', 'verified']);
}
);