fix:GET /logout 요청 시 로그인 페이지로 리다이렉트
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -89,6 +89,9 @@
|
||||
| - hq.member: 본사(HQ) 테넌트 소속 확인
|
||||
*/
|
||||
|
||||
// GET /logout 요청 시 로그인 페이지로 리다이렉트
|
||||
Route::get('/logout', fn() => redirect()->route('login'));
|
||||
|
||||
Route::middleware(['auth', 'hq.member', 'password.changed'])->group(function () {
|
||||
Route::post('/logout', [LoginController::class, 'logout'])->name('logout');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user