diff --git a/tubearchivist/home/forms.py b/tubearchivist/home/forms.py index 758500f..f85392d 100644 --- a/tubearchivist/home/forms.py +++ b/tubearchivist/home/forms.py @@ -11,7 +11,14 @@ class CustomAuthForm(AuthenticationForm): """better styled login form""" username = forms.CharField( - widget=TextInput(attrs={"placeholder": "Username"}), label=False + widget=TextInput( + attrs={ + "placeholder": "Username", + "autofocus": True, + "autocomplete": True, + } + ), + label=False, ) password = forms.CharField( widget=PasswordInput(attrs={"placeholder": "Password"}), label=False