Browse Source

Make 2Factor "tel" field instead "number"

- because of missing copy&paste buttons at number
pull/7927/head
nupplaPhil 1 year ago
parent
commit
b085098b49
No known key found for this signature in database GPG Key ID: D8365C3D36B77D90
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Module/TwoFactor/Verify.php

+ 1
- 1
src/Module/TwoFactor/Verify.php View File

@ -64,7 +64,7 @@ class Verify extends BaseModule
'$errors_label' => L10n::tt('Error', 'Errors', count(self::$errors)),
'$errors' => self::$errors,
'$recovery_message' => L10n::t('Don’t have your phone? <a href="%s">Enter a two-factor recovery code</a>', '2fa/recovery'),
'$verify_code' => ['verify_code', L10n::t('Please enter a code from your authentication app'), '', '', 'required', 'autofocus placeholder="000000"', 'number'],
'$verify_code' => ['verify_code', L10n::t('Please enter a code from your authentication app'), '', '', 'required', 'autofocus placeholder="000000"', 'tel'],
'$verify_label' => L10n::t('Verify code and complete login'),
]);
}


Loading…
Cancel
Save