Skip to content
Snippets Groups Projects
Verified Commit 11c1cd75 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix empty authentication backends list

parent 4e6ceb0f
No related branches found
No related tags found
No related merge requests found
Pipeline #3221 failed
......@@ -192,6 +192,7 @@ class AuthenticationBackends(MultipleChoicePreference):
name = "backends"
default = None
verbose_name = _("Enabled custom authentication backends")
field_attribute = {"initial": []}
def get_choices(self):
return [(b, b) for b in settings.CUSTOM_AUTHENTICATION_BACKENDS]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment