Show numeric keyboard on mobile for 2fa codes
What does this MR do and why?
Display numeric keyboard on mobile phones when entering a 2FA verification code.
I have also changed the term pin
for code
this is more align to the
language of two-factor authenticator apps.
Second commit fixes broken tests.
Third commit is optional. It makes related warnings to use similar language.
Closes trigger numeric mobile keyboard for two-factor ... (#20605 - closed)
Changelog: changed
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Go to https://gdk.test:3443/-/profile/two_factor_auth on a mobile device. The easiest way would be to access it via the review app.
- Enable a time-based one-time password (TOTP)
- The numeric keyboard should be displayed when entering the verification code.
- Log out
- Sign-in back. The numeric keyboard should be displayed when entering the verification code.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Eduardo Sanz García