fix: masked CIF

This commit is contained in:
2025-12-09 12:20:05 +05:30
parent df0058541e
commit c8377b7a88

View File

@@ -46,7 +46,7 @@ export default function Login() {
try {
const maskedCIF = CIF?.replace(/.(?=.{3})/g, '*');
await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: mobile });
await sendOtp({ type: 'LOGIN_OTP', username: maskedCIF, mobileNumber: mobile });
// await sendOtp({ type: 'LOGIN_OTP', username: maskedCIF, mobileNumber: "7890544527" });
notifications.show({
color: 'orange',