mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-30 16:08:56 +00:00
feat: Add SMS country code selector to SMT OTP (LoginV1) (#11373)
<!-- Please inform yourself about the contribution guidelines on submitting a PR here: https://github.com/zitadel/zitadel/blob/main/CONTRIBUTING.md#submit-a-pull-request-pr. Take note of how PR/commit titles should be written and replace the template texts in the sections below. Don't remove any of the sections. It is important that the commit history clearly shows what is changed and why. Important: By submitting a contribution you agree to the terms from our Licensing Policy as described here: https://github.com/zitadel/zitadel/blob/main/LICENSING.md#community-contributions. --> # Which Problems Are Solved - This adds rudimentary country code handling for LoginV1 SMS OTP - Previously defaulting to CH with no prompt to user causing e.g UK (+44) based numbers to be re-routed to CH. (+41) # Additional Context - Support for SMS OTP is not complete for LoginV2 (according to latest support email) Tested with Twilio on both UK + DE # . Appears to work. - Closes #8891 <img width="544" height="485" alt="image" src="https://github.com/user-attachments/assets/84d31bd8-8863-465f-8860-b51602439dfb" /> <img width="858" height="1298" alt="Screenshot 2026-01-16 at 11 23 22" src="https://github.com/user-attachments/assets/4bf16f0b-2fec-4d63-95b0-f0b73f3a131a" /> --------- Co-authored-by: Livio Spring <[email protected]> Co-authored-by: Silvan <[email protected]>
This commit is contained in:
co-authored by
Livio Spring
Silvan
parent
30d91cde58
commit
597f385ca4
@@ -109,21 +109,22 @@ InitMFAOTP:
|
||||
Title: 双因素验证
|
||||
Description: 创建你的双因素。如果你还没有,请下载一个认证器应用程序。
|
||||
OTPDescription: 使用您的身份验证器应用程序(例如 Google Authenticator)扫描代码或复制密码并在下方插入生成的代码。
|
||||
SecretLabel: 秘钥
|
||||
CodeLabel: 验证码
|
||||
NextButtonText: 继续
|
||||
CancelButtonText: 取消
|
||||
|
||||
InitMFAOTPSMS:
|
||||
Title: 双因素验证
|
||||
DescriptionPhone: 创建双因素身份验证。输入您的电话号码进行验证。
|
||||
DescriptionCode: 创建双因素身份验证。输入收到的代码以验证您的电话号码。
|
||||
CountryCodeLabel: 国家
|
||||
PhoneLabel: 电话号码
|
||||
CodeLabel: 验证码
|
||||
EditButtonText: 编辑
|
||||
ResendButtonText: 重发代码
|
||||
NextButtonText: 继续
|
||||
|
||||
InitMFASMS:
|
||||
Title: 双因素验证
|
||||
DescriptionPhone: 创建双因素身份验证。输入您的电话号码进行验证。
|
||||
DescriptionCode: 创建双因素身份验证。输入收到的代码以验证您的电话号码。
|
||||
SecretLabel: 秘钥
|
||||
CodeLabel: 验证码
|
||||
NextButtonText: 继续
|
||||
CancelButtonText: 取消
|
||||
|
||||
InitMFAU2F:
|
||||
Title: 添加安全密钥
|
||||
Description: 安全密钥是一种验证方法,可以内置在手机中、使用蓝牙或直接插入计算机的 USB 端口。
|
||||
|
||||
Reference in New Issue
Block a user