Skip to content

Commit

Permalink
fix: jans-linux-setup config api prompt (#2293)
Browse files Browse the repository at this point in the history
* fix: jans-linux-setup config api prompt

* fix: jans-linux-setup api to API
  • Loading branch information
devrimyatar committed Sep 2, 2022
1 parent 6397c47 commit abfa315
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jans-linux-setup/jans_setup/setup_app/installers/jans.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __repr__(self):
if Config.profile == 'jans':
txt += 'Install Fido2 Server'.ljust(30) + repr(Config.installFido2).rjust(35) + (' *' if 'installFido2' in Config.addPostSetupService else '') + "\n"
txt += 'Install Scim Server'.ljust(30) + repr(Config.install_scim_server).rjust(35) + (' *' if 'install_scim_server' in Config.addPostSetupService else '') + "\n"
txt += 'Install Jans Client Api'.ljust(30) + repr(Config.install_client_api).rjust(35) + (' *' if 'install_client_api' in Config.addPostSetupService else '') + "\n"
txt += 'Install Jans Client API'.ljust(30) + repr(Config.install_client_api).rjust(35) + (' *' if 'install_client_api' in Config.addPostSetupService else '') + "\n"
#txt += 'Install Oxd '.ljust(30) + repr(Config.installOxd).rjust(35) + (' *' if 'installOxd' in Config.addPostSetupService else '') + "\n"

if Config.profile == 'jans' and Config.installEleven:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def promptForConfigApi(self):
if Config.installed_instance and Config.install_config_api:
return

promptForConfigApi = self.getPrompt("Install Jans Auth Config Api?",
promptForConfigApi = self.getPrompt("Install Jans Config API?",
self.getDefaultOption(Config.install_config_api)
)[0].lower()

Expand All @@ -607,7 +607,7 @@ def promptForConfigApi(self):

def prompt_for_client_api(self):

prompt = self.getPrompt("Install Jans Client Api?",
prompt = self.getPrompt("Install Jans Client API?",
self.getDefaultOption(Config.install_client_api)
)[0].lower()

Expand All @@ -617,7 +617,7 @@ def prompt_for_client_api(self):
Config.addPostSetupService.append('install_client_api')

if Config.install_client_api:
prompt = self.getPrompt(" Use Jans Storage for Client Api?", 'y')[0].lower()
prompt = self.getPrompt(" Use Jans Storage for Client API?", 'y')[0].lower()
if prompt == 'n':
Config.client_api_storage_type = 'h2'

Expand Down

0 comments on commit abfa315

Please sign in to comment.