Add Login Module
This commit is contained in:
@@ -39,8 +39,7 @@ public sealed class LoginUseCase : ILoginUseCase
|
||||
|
||||
await _uow.CommitAsync(ct);
|
||||
|
||||
// NOTE: ไม่ใช้ DisplayName ใน Entity แล้ว — ส่งกลับเป็นค่าว่าง/ไปดึงจาก HR ฝั่ง API
|
||||
return new LoginResponse(user.Id, string.Empty, email, tenant.Id);
|
||||
return new LoginResponse(user.Id , email, tenant.Id);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user