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