로컬 환경 분리와 회원가입 중복 검증 보강

로컬 개발 환경은 .env.local을 우선 읽고 운영은 .env.production만 읽도록 분리해 인증 우회 설정이 운영에 섞이지 않게 정리했다. 회원가입/로그인 이메일 정규화와 중복 예외 처리를 보강해 대소문자·공백 변형 중복 가입을 안정적으로 차단했다.

Made-with: Cursor
This commit is contained in:
2026-04-27 11:33:10 +09:00
committed by DUCK JIN
parent 069eda3544
commit 73d198f5a9
12 changed files with 105 additions and 25 deletions

View File

@@ -1,13 +1,13 @@
MARIADB_ROOT_PASSWORD=change-this-root-password
MARIADB_ROOT_PASSWORD=tier_cursor_root_production
MARIADB_DATABASE=tier_cursor
MARIADB_USER=tier_cursor
MARIADB_PASSWORD=change-this-db-password
SESSION_SECRET=change-this-session-secret
MARIADB_PASSWORD=tier_cursor_production_password
SESSION_SECRET=tmaker-production-session-secret
APP_ORIGIN=https://tmaker.sori.studio
SMTP_HOST=smtp.gmail.com
SMTP_PORT=465
SMTP_SECURE=true
SMTP_USER=your-gmail-account@gmail.com
SMTP_PASS=change-this-gmail-app-password
SMTP_FROM="Tier Maker <your-gmail-account@gmail.com>"
SMTP_USER=mailer@tmaker.sori.studio
SMTP_PASS=mailer-app-password
SMTP_FROM="Tier Maker <mailer@tmaker.sori.studio>"
SKIP_EMAIL_VERIFICATION=false