stages/password: fix PasswordStageForm not showing backends
This commit is contained in:
parent
e9ca42cbb9
commit
ee916a68a4
|
@ -53,5 +53,5 @@ class PasswordStageForm(forms.ModelForm):
|
||||||
fields = ["name", "backends", "configure_flow", "failed_attempts_before_cancel"]
|
fields = ["name", "backends", "configure_flow", "failed_attempts_before_cancel"]
|
||||||
widgets = {
|
widgets = {
|
||||||
"name": forms.TextInput(),
|
"name": forms.TextInput(),
|
||||||
"backends": forms.SelectMultiple(get_authentication_backends()),
|
"backends": forms.SelectMultiple(choices=get_authentication_backends()),
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue