refactor: debug print 제거 + bcrypt 통일 + 미사용 의존성 정리
- System 3 issues.py: DEBUG print 24곳 제거 (민감정보 노출 방지) - System 1 API: bcrypt(네이티브) → bcryptjs(순수JS) 통일 (3파일) - System 1 API: 미사용 bcrypt, sqlite3 의존성 제거 - FastAPI bridge: deprecated datetime.utcnow() 수정 - git: 추적 중이던 로그파일 7개 제거 (.gitignore 적용) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* @since 2025-12-11
|
||||
*/
|
||||
|
||||
const bcrypt = require('bcrypt');
|
||||
const bcrypt = require('bcryptjs');
|
||||
const { ValidationError, ForbiddenError, NotFoundError, ConflictError, DatabaseError } = require('../utils/errors');
|
||||
const { asyncHandler } = require('../middlewares/errorHandler');
|
||||
const logger = require('../utils/logger');
|
||||
|
||||
@@ -14,7 +14,7 @@ const logger = require('../utils/logger');
|
||||
const cache = require('../utils/cache');
|
||||
const { optimizedQueries } = require('../utils/queryOptimizer');
|
||||
const { hangulToRoman, generateUniqueUsername } = require('../utils/hangulToRoman');
|
||||
const bcrypt = require('bcrypt');
|
||||
const bcrypt = require('bcryptjs');
|
||||
const { getDb } = require('../dbPool');
|
||||
|
||||
/**
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* 5. 현재 연도 연차 잔액 초기화 (workers.annual_leave 사용)
|
||||
*/
|
||||
|
||||
const bcrypt = require('bcrypt');
|
||||
const bcrypt = require('bcryptjs');
|
||||
const { generateUniqueUsername } = require('../../utils/hangulToRoman');
|
||||
|
||||
exports.up = async function(knex) {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -22,7 +22,6 @@
|
||||
"@simplewebauthn/server": "^13.1.1",
|
||||
"async-retry": "^1.3.3",
|
||||
"axios": "^1.6.7",
|
||||
"bcrypt": "^6.0.0",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"compression": "^1.8.1",
|
||||
"cors": "^2.8.5",
|
||||
@@ -39,7 +38,6 @@
|
||||
"pm2": "^5.3.0",
|
||||
"qrcode": "^1.5.4",
|
||||
"redis": "^5.9.0",
|
||||
"sqlite3": "^5.1.6",
|
||||
"swagger-jsdoc": "^6.2.8",
|
||||
"swagger-ui-express": "^5.0.1"
|
||||
},
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
|
||||
🚀 Technical Korea Work Management System v2.1.0
|
||||
📍 서버가 포트 3005에서 실행 중입니다.
|
||||
🌐 접속 URL: http://localhost:3005
|
||||
📊 API 문서: http://localhost:3005/api
|
||||
|
||||
🔒 보안 기능:
|
||||
✅ JWT 토큰 인증
|
||||
✅ 로그인 실패 제한 (5회)
|
||||
✅ API 속도 제한
|
||||
✅ 보안 헤더 (Helmet)
|
||||
✅ CORS 설정 (192.168.0.3:3001 허용)
|
||||
✅ 활동 로깅
|
||||
|
||||
📋 새로운 기능:
|
||||
🔐 비밀번호 변경 (본인/관리자)
|
||||
🔄 토큰 갱신 (Refresh Token)
|
||||
📊 로그인 이력 조회
|
||||
💪 비밀번호 강도 체크
|
||||
|
||||
🟢 Health check 호출됨!
|
||||
🟢 Health check 호출됨!
|
||||
🟢 Health check 호출됨!
|
||||
🟢 Health check 호출됨!
|
||||
🟢 Health check 호출됨!
|
||||
🟢 Health check 호출됨!
|
||||
🟢 Health check 호출됨!
|
||||
Reference in New Issue
Block a user