Skip to content

Commit a8d453a

Browse files
committed
1 parent 471f06f commit a8d453a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mfa/forms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class MFABaseForm(forms.Form):
88
def __init__(self, validate_code=None, **kwargs):
99
self.validate_code = validate_code
1010
super().__init__(**kwargs)
11-
self.fields['code'].widget.attrs.update({'autocomplete': 'off'})
11+
self.fields['code'].widget.attrs.update({'autocomplete': 'one-time-code'})
1212

1313
def clean(self):
1414
cleaned_data = super().clean()

0 commit comments

Comments
 (0)