fix: masked CIF
This commit is contained in:
@@ -46,7 +46,7 @@ export default function Login() {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const maskedCIF = CIF?.replace(/.(?=.{3})/g, '*');
|
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" });
|
// await sendOtp({ type: 'LOGIN_OTP', username: maskedCIF, mobileNumber: "7890544527" });
|
||||||
notifications.show({
|
notifications.show({
|
||||||
color: 'orange',
|
color: 'orange',
|
||||||
|
|||||||
Reference in New Issue
Block a user