Skip to content

[Fix] 데모 로그인 버튼 이메일 수정 + 프로필 화면 실제 계정 정보 표시 - #330

Merged
BcKmini merged 1 commit into
mainfrom
fix/329-demo-email-and-profile-identity
Aug 12, 2026
Merged

[Fix] 데모 로그인 버튼 이메일 수정 + 프로필 화면 실제 계정 정보 표시#330
BcKmini merged 1 commit into
mainfrom
fix/329-demo-email-and-profile-identity

Conversation

@BcKmini

@BcKmini BcKmini commented Aug 12, 2026

Copy link
Copy Markdown
Member

closes #329

문제

  • 데모 로그인 버튼: DEMO_ACCOUNT.emailmini@naver.com으로 하드코딩돼 있어서 클릭하면 로그인 실패 (실제 시드 계정은 demo.admin@example.com)
  • 프로필 화면: demo.admin@example.com으로 로그인해도 /profile에는 항상 "김민지 · hr.demo@fowoco.example"라는 무관한 가짜 정보 표시 (서버에 프로필 API가 없어서 #191부터 전부 고정 목업값 사용 중이었음)

변경 사항

  • DEMO_ACCOUNT.email 수정
  • authStoreemail 저장 (로그인 시점에 client가 직접 기억)
  • ProfilePage 요약 카드·로그인 이메일 필드를 실제 로그인 계정 정보로 표시. 표시 이름·연락처 등 나머지 편집 필드는 여전히 서버 API가 없어서 [Feature] PROFILE-001 내 프로필 페이지 신규 추가 #191 범위로 남김

검증

  • tsc -b / lint / 전체 테스트 442개 / build 통과
  • 실제 브라우저로 로그인 → 프로필 화면에서 실제 계정 정보 표시 확인

- DEMO_ACCOUNT.email을 mini@naver.com -> demo.admin@example.com으로 수정
  (실제 서버 데모 시드 계정과 일치, '데모로 시작' 버튼이 여태 실패하고 있었음)
- authStore에 email 필드 추가, 로그인 시점에 저장
- ProfilePage 요약 카드·로그인 이메일 필드를 실제 로그인 계정 정보로 표시
  (기존엔 로그인 계정과 무관한 '김민지' 목업 정보가 항상 떴음)

closes #329
@BcKmini BcKmini self-assigned this Aug 12, 2026
@BcKmini BcKmini added area:auth 로그인·권한 화면 type:refactor 동작 변경 없는 구조 개선 priority:P1 핵심 작업 다음으로 중요한 작업 status:in-review 구현을 마치고 리뷰·병합 대기 labels Aug 12, 2026
@BcKmini
BcKmini merged commit 556486d into main Aug 12, 2026
1 check passed
@BcKmini
BcKmini deleted the fix/329-demo-email-and-profile-identity branch August 12, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:auth 로그인·권한 화면 priority:P1 핵심 작업 다음으로 중요한 작업 status:in-review 구현을 마치고 리뷰·병합 대기 type:refactor 동작 변경 없는 구조 개선

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fix] 데모 로그인 버튼 하드코딩 이메일 수정 + 프로필 화면이 실제 로그인 계정과 무관한 가짜 정보를 표시함

1 participant