You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @codehz thanks for your report, this is a known issue, and we're exploring a appropriate solution. Will keep you posted.
Considering that the current mobile phone numbers obtained in the system all contain country code, I think we can directly use the prefix 86 to determine whether it is a Chinese mobile phone number. (aka use /^86\d{11}$/)
Describe the bug
Aliyun SMS Connector incorrectly identifies a Hong Kong mobile phone number as a mainland Chinese mobile phone number
Expected behavior
send message to HK mobile successfully
How to reproduce?
generate a dummy 852 phone number, like 85268326366
try to register with this number
Context
Screenshots
I think the problem is
logto/packages/connectors/connector-aliyun-sms/src/index.ts
Line 23 in 76fd33b
HK number is exactly 11 digits...
The text was updated successfully, but these errors were encountered: