Skip to content

Commit

Permalink
fix(jans-cli-tui): LOCK OPA Configuration (#8281)
Browse files Browse the repository at this point in the history
Signed-off-by: Mustafa Baser <mbaser@mail.com>
  • Loading branch information
devrimyatar committed Apr 11, 2024
1 parent ed8fba5 commit e7a0e2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jans-cli-tui/cli_tui/plugins/120_lock/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def create_widgets(self):
self.opa_config_base_url = common_data.app.getTitledText(
title=_("Base URL"),
name='baseUrl',
value=self.data.get('OpaConfiguration', {}).get('baseUrl', ''),
value=self.data.get('opaConfiguration', {}).get('baseUrl', ''),
style=cli_style.edit_text,
jans_help=_("Base URL for OPA"),
widget_style=cli_style.black_bg_widget
Expand All @@ -59,7 +59,7 @@ def create_widgets(self):
self.opa_config_accessToken = common_data.app.getTitledText(
title=_("Access Token"),
name='accessToken',
value=self.data.get('OpaConfiguration', {}).get('accessToken', ''),
value=self.data.get('opaConfiguration', {}).get('accessToken', ''),
style=cli_style.edit_text,
jans_help=_("Access token for OPA"),
widget_style=cli_style.black_bg_widget
Expand Down Expand Up @@ -150,7 +150,7 @@ def create_widgets(self):
),

Frame(
title=_("Opa Configuration"),
title=_("OPA Configuration"),
body=HSplit([self.opa_config_base_url, self.opa_config_accessToken]),
),

Expand Down

0 comments on commit e7a0e2f

Please sign in to comment.