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:
@@ -30,6 +30,9 @@ class User extends Authenticatable
|
||||
'password',
|
||||
'options',
|
||||
'profile_photo_path',
|
||||
'is_active',
|
||||
'created_by',
|
||||
'updated_by',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
|
||||
Reference in New Issue
Block a user