Skip to content

Commit

Permalink
Fix user backend list.
Browse files Browse the repository at this point in the history
  • Loading branch information
wlorenzetti committed Jan 3, 2024
1 parent 9a6fb8b commit 2122e49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions g3w-admin/usersmanage/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,10 @@ def __init__(self, *args, **kwargs):
self.helper = FormHelper(self)
self.helper.form_tag = False

# When a module that provides a new user backend (i.e. authldap module) is added to G3W-SUITE
# is necessary declare again the choices of 'backend' field
self.fields['backend'].choices = USER_BACKEND_TYPES

args =[
Div(
Div(
Expand Down

0 comments on commit 2122e49

Please sign in to comment.