fix: masked CIF
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user