mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-12 01:12:37 +00:00
Merge "Disable autocomplete on 2FA verification fields"
This commit is contained in:
commit
6ae31eb6ce
|
@ -104,6 +104,8 @@ class TOTPDisable extends FormSpecialPage {
|
|||
'required' => true,
|
||||
'autofocus' => true,
|
||||
'dir' => 'ltr',
|
||||
'autocomplete' => false,
|
||||
'spellcheck' => false,
|
||||
],
|
||||
'returnto' => [
|
||||
'type' => 'hidden',
|
||||
|
|
|
@ -168,6 +168,8 @@ class TOTPEnable extends FormSpecialPage {
|
|||
'name' => 'token',
|
||||
'section' => 'step4',
|
||||
'dir' => 'ltr',
|
||||
'autocomplete' => false,
|
||||
'spellcheck' => false,
|
||||
],
|
||||
'returnto' => [
|
||||
'type' => 'hidden',
|
||||
|
|
Loading…
Reference in a new issue