fix(otp): support WebOTP sms pattern with {0} and {1} and robust code extraction
This commit is contained in:
1 parent
1fd9a92dd0
commit
c57f775cb4
15 files changed
+8628
-8534
No files matched your search
@@ -1287,7 +1287,7 @@ export class SmsService {
|
||||
return this.sendPatternSms({
|
||||
to: phone,
|
||||
bodyId: config.otpBodyId,
|
||||
args: [otpCode],
|
||||
args: [otpCode, otpCode],
|
||||
type: 'OTP',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user