Remove the redundant "required=True"
The django form field default is "required=True", so this patch remove the redundant "required=True" in the form. Change-Id: If0a5e6086a5898670643cc8f2cc0f97822ad063b
This commit is contained in:
parent
980eafc083
commit
0ad8436bae
@ -444,7 +444,6 @@ class ResetPasswordForm(forms.SelfHandlingForm):
|
|||||||
cluster_id = forms.CharField(widget=forms.HiddenInput())
|
cluster_id = forms.CharField(widget=forms.HiddenInput())
|
||||||
password = forms.CharField(widget=forms.PasswordInput(),
|
password = forms.CharField(widget=forms.PasswordInput(),
|
||||||
label=_("New Password"),
|
label=_("New Password"),
|
||||||
required=True,
|
|
||||||
help_text=_("New password for cluster access."))
|
help_text=_("New password for cluster access."))
|
||||||
|
|
||||||
@sensitive_variables('data')
|
@sensitive_variables('data')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user