feat: TOTP 2차 인증, 관리자 메뉴/대시보드 및 의존성 반영
- robthree/twofactorauth, Auth 설정·TotpService·2FA 뷰·라우트 - member TOTP 컬럼 DDL(login_tables, member_add_totp.sql) - 관리자 메뉴·레이아웃·필터·대시보드 등 연관 변경 - env 샘플에 auth.requireTotp 주석 Made-with: Cursor
This commit is contained in:
@@ -11,6 +11,7 @@ $routes->get('dashboard/classic-mock', 'Home::dashboardClassicMock');
|
||||
$routes->get('dashboard/modern', 'Home::dashboardModern');
|
||||
$routes->get('dashboard/dense', 'Home::dashboardDense');
|
||||
$routes->get('dashboard/charts', 'Home::dashboardCharts');
|
||||
$routes->get('dashboard/blend', 'Home::dashboardBlend');
|
||||
$routes->get('bag/inventory-inquiry', 'Home::inventoryInquiry');
|
||||
$routes->get('bag/waste-suibal-enterprise', 'Home::wasteSuibalEnterprise');
|
||||
|
||||
@@ -29,6 +30,10 @@ $routes->get('bag/help', 'Bag::help');
|
||||
// Auth
|
||||
$routes->get('login', 'Auth::showLoginForm');
|
||||
$routes->post('login', 'Auth::login');
|
||||
$routes->get('login/two-factor', 'Auth::showTwoFactor');
|
||||
$routes->post('login/two-factor', 'Auth::verifyTwoFactor');
|
||||
$routes->get('login/totp-setup', 'Auth::showTotpSetup');
|
||||
$routes->post('login/totp-setup', 'Auth::completeTotpSetup');
|
||||
$routes->get('logout', 'Auth::logout');
|
||||
$routes->get('register', 'Auth::showRegisterForm');
|
||||
$routes->post('register', 'Auth::register');
|
||||
|
||||
Reference in New Issue
Block a user