diff --git a/src/Special/TOTPDisable.php b/src/Special/TOTPDisable.php index 9e9a1960..8a1c5b42 100644 --- a/src/Special/TOTPDisable.php +++ b/src/Special/TOTPDisable.php @@ -104,6 +104,8 @@ class TOTPDisable extends FormSpecialPage { 'required' => true, 'autofocus' => true, 'dir' => 'ltr', + 'autocomplete' => false, + 'spellcheck' => false, ], 'returnto' => [ 'type' => 'hidden', diff --git a/src/Special/TOTPEnable.php b/src/Special/TOTPEnable.php index e2037f73..4c0a1a60 100644 --- a/src/Special/TOTPEnable.php +++ b/src/Special/TOTPEnable.php @@ -168,6 +168,8 @@ class TOTPEnable extends FormSpecialPage { 'name' => 'token', 'section' => 'step4', 'dir' => 'ltr', + 'autocomplete' => false, + 'spellcheck' => false, ], 'returnto' => [ 'type' => 'hidden',