From: nupplaPhil Date: Tue, 10 Dec 2019 21:44:45 +0000 (+0100) Subject: Make 2Factor "tel" field instead "number" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b085098b491bbce82e947f32c7d612130a053672;p=friendica.git Make 2Factor "tel" field instead "number" - because of missing copy&paste buttons at number --- diff --git a/src/Module/TwoFactor/Verify.php b/src/Module/TwoFactor/Verify.php index 27001683e9..7fa7ed804f 100644 --- a/src/Module/TwoFactor/Verify.php +++ b/src/Module/TwoFactor/Verify.php @@ -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? Enter a two-factor recovery code', '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'), ]); }