diff --git a/src/Hook/AuthChangeFormFields/TOTPExtendTokenField.php b/src/Hook/AuthChangeFormFields/TOTPExtendTokenField.php index 3d0607b5..59927f1b 100644 --- a/src/Hook/AuthChangeFormFields/TOTPExtendTokenField.php +++ b/src/Hook/AuthChangeFormFields/TOTPExtendTokenField.php @@ -65,6 +65,7 @@ class TOTPExtendTokenField { 'cssClass' => 'loginText', 'id' => 'wpOATHToken', 'size' => 20, + 'dir' => 'ltr', 'autofocus' => true, 'persistent' => false, 'autocomplete' => false, diff --git a/src/Special/TOTPDisable.php b/src/Special/TOTPDisable.php index 1f290a84..9e9a1960 100644 --- a/src/Special/TOTPDisable.php +++ b/src/Special/TOTPDisable.php @@ -103,6 +103,7 @@ class TOTPDisable extends FormSpecialPage { 'name' => 'token', 'required' => true, 'autofocus' => true, + 'dir' => 'ltr', ], 'returnto' => [ 'type' => 'hidden', diff --git a/src/Special/TOTPEnable.php b/src/Special/TOTPEnable.php index a1f0c098..e2037f73 100644 --- a/src/Special/TOTPEnable.php +++ b/src/Special/TOTPEnable.php @@ -167,6 +167,7 @@ class TOTPEnable extends FormSpecialPage { 'label-message' => 'oathauth-entertoken', 'name' => 'token', 'section' => 'step4', + 'dir' => 'ltr', ], 'returnto' => [ 'type' => 'hidden',