stages/*: minor string updates

This commit is contained in:
Jens Langhammer 2020-06-30 18:52:18 +02:00
parent 37fe637422
commit 729910c383
3 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,7 @@ class SetupForm(forms.Form):
label=_("Scan this Code with your OTP App."), label=_("Scan this Code with your OTP App."),
) )
code = forms.CharField( code = forms.CharField(
label=_("Code"), label=_("Please enter the Token on your device."),
validators=[OTP_CODE_VALIDATOR], validators=[OTP_CODE_VALIDATOR],
widget=forms.TextInput( widget=forms.TextInput(
attrs={ attrs={

View File

@ -18,7 +18,7 @@ class ValidationForm(forms.Form):
user: User user: User
code = forms.CharField( code = forms.CharField(
label=_("Code"), label=_("Please enter the token from your device."),
validators=[OTP_CODE_VALIDATOR], validators=[OTP_CODE_VALIDATOR],
widget=forms.TextInput( widget=forms.TextInput(
attrs={ attrs={

View File

@ -28,6 +28,7 @@ class PasswordForm(forms.Form):
widget=forms.HiddenInput(attrs={"autocomplete": "username"}), required=False widget=forms.HiddenInput(attrs={"autocomplete": "username"}), required=False
) )
password = forms.CharField( password = forms.CharField(
label=_("Please enter your password."),
widget=forms.PasswordInput( widget=forms.PasswordInput(
attrs={ attrs={
"placeholder": _("Password"), "placeholder": _("Password"),