1
0
forked from baron/baron-sso

fix: refine error messages for signup failure and company code

This commit is contained in:
2026-03-27 20:39:49 +09:00
parent 603b9e0032
commit 13469b14fb
2 changed files with 6 additions and 6 deletions

View File

@@ -460,7 +460,7 @@ func (h *AuthHandler) Signup(c *fiber.Ctx) error {
} else {
// If companyCode provided but not found, we should probably reject if we want strictness,
// or just treat as GENERAL user. Given the risk "존재하지 않는 테넌트도 저장됨", we should reject.
return errorJSON(c, fiber.StatusBadRequest, "Invalid company code.")
return errorJSON(c, fiber.StatusBadRequest, "해당하는 가족사(테넌트)를 찾을 수 없습니다.")
}
}