stages/password: fix PasswordStageForm not showing backends

This commit is contained in:
Jens Langhammer 2020-12-25 23:34:26 +01:00
parent 2a94ad7782
commit cd8157ea08

View file

@ -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()),
}