- robthree/twofactorauth, Auth 설정·TotpService·2FA 뷰·라우트 - member TOTP 컬럼 DDL(login_tables, member_add_totp.sql) - 관리자 메뉴·레이아웃·필터·대시보드 등 연관 변경 - env 샘플에 auth.requireTotp 주석 Made-with: Cursor
79 lines
2.7 KiB
Plaintext
79 lines
2.7 KiB
Plaintext
#--------------------------------------------------------------------
|
|
# Example Environment Configuration file
|
|
#
|
|
# This file can be used as a starting point for your own
|
|
# custom .env files, and contains most of the possible settings
|
|
# available in a default install.
|
|
#
|
|
# By default, all of the settings are commented out. If you want
|
|
# to override the setting, you must un-comment it by removing the '#'
|
|
# at the beginning of the line.
|
|
#--------------------------------------------------------------------
|
|
|
|
#--------------------------------------------------------------------
|
|
# ENVIRONMENT
|
|
#--------------------------------------------------------------------
|
|
|
|
# CI_ENVIRONMENT = production
|
|
|
|
#--------------------------------------------------------------------
|
|
# APP
|
|
#--------------------------------------------------------------------
|
|
|
|
# app.baseURL = ''
|
|
# If you have trouble with `.`, you could also use `_`.
|
|
# app_baseURL = ''
|
|
# app.forceGlobalSecureRequests = false
|
|
# app.CSPEnabled = false
|
|
|
|
#--------------------------------------------------------------------
|
|
# DATABASE
|
|
#--------------------------------------------------------------------
|
|
|
|
# database.default.hostname = localhost
|
|
# database.default.database = ci4
|
|
# database.default.username = root
|
|
# database.default.password = root
|
|
# database.default.DBDriver = MySQLi
|
|
# database.default.DBPrefix =
|
|
# database.default.port = 3306
|
|
|
|
# If you use MySQLi as tests, first update the values of Config\Database::$tests.
|
|
# database.tests.hostname = localhost
|
|
# database.tests.database = ci4_test
|
|
# database.tests.username = root
|
|
# database.tests.password = root
|
|
# database.tests.DBDriver = MySQLi
|
|
# database.tests.DBPrefix =
|
|
# database.tests.charset = utf8mb4
|
|
# database.tests.DBCollat = utf8mb4_general_ci
|
|
# database.tests.port = 3306
|
|
|
|
#--------------------------------------------------------------------
|
|
# ENCRYPTION
|
|
#--------------------------------------------------------------------
|
|
|
|
# encryption.key =
|
|
|
|
#--------------------------------------------------------------------
|
|
# AUTH (TOTP 2차 인증) — 관리자(mb_level 3·4·5)만 적용, 로컬은 false 권장
|
|
#--------------------------------------------------------------------
|
|
|
|
# auth.requireTotp = true
|
|
# auth.totpIssuer = "쓰레기봉투 물류시스템"
|
|
# auth.totpMaxAttempts = 5
|
|
# auth.pending2faTtlSeconds = 600
|
|
|
|
#--------------------------------------------------------------------
|
|
# SESSION
|
|
#--------------------------------------------------------------------
|
|
|
|
# session.driver = 'CodeIgniter\Session\Handlers\FileHandler'
|
|
# session.savePath = null
|
|
|
|
#--------------------------------------------------------------------
|
|
# LOGGER
|
|
#--------------------------------------------------------------------
|
|
|
|
# logger.threshold = 4
|