fix(API): 직원 등록 서버 에러 수정

- User 모델 $fillable에 is_active, created_by, updated_by 추가
- EmployeeService 이중 비밀번호 해싱 제거 (모델 hashed 캐스트 활용)
- create_account 플래그 의존성 제거 (password 있으면 계정 생성)

Fixes: employee-register E2E test failure

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-01-14 17:32:27 +09:00
parent a08e155b26
commit 524f1cf0fc
2 changed files with 8 additions and 8 deletions

View File

@@ -30,6 +30,9 @@ class User extends Authenticatable
'password',
'options',
'profile_photo_path',
'is_active',
'created_by',
'updated_by',
];
protected $casts = [