修复 logout 重复的问题
This commit is contained in:
parent
156e3fcb28
commit
16e1cc0c99
@ -41,7 +41,6 @@ function () {
|
|||||||
Route::withoutMiddleware(['banned', 'verified'])->group(
|
Route::withoutMiddleware(['banned', 'verified'])->group(
|
||||||
function () {
|
function () {
|
||||||
Route::view('banned', 'banned')->name('banned')->withoutMiddleware(['banned', 'verified']);
|
Route::view('banned', 'banned')->name('banned')->withoutMiddleware(['banned', 'verified']);
|
||||||
Route::post('logout', [AuthController::class, 'logout'])->name('logout')->withoutMiddleware(['banned', 'verified']);
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user