Skip to content

Commit

Permalink
fix:jans-cli fix error on saving users (ref: #3120)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelwahabAdam committed Nov 30, 2022
1 parent c34328d commit b1da47a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jans-cli-tui/cli_tui/plugins/070_users/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def save_user(self, dialog: Dialog) -> None:
_type_: bool value to check the status code response
"""

raw_data = self.make_data_from_dialog(tabs={'user': dialog.edit_user_container})
raw_data = self.make_data_from_dialog(tabs={'user': dialog.edit_user_container.content})

if not (raw_data['userId'].strip() and raw_data['mail'].strip()):
self.app.show_message(_("Please fix!"), _("Username and/or Email is empty"))
Expand Down

0 comments on commit b1da47a

Please sign in to comment.