Skip to content

Commit

Permalink
feat: jans-linux-setup fido metadata folder
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Apr 28, 2022
1 parent 2680bd0 commit 8e95b7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jans-linux-setup/jans_setup/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ def do_install():
if argsp.download_exit:
setup_args += ' --download-exit'

if argsp.args:
setup_cmd += ' ' + argsp.args
if setup_args:
setup_cmd += ' ' + setup_args

print("Executing", setup_cmd)
os.system(setup_cmd)
Expand Down
2 changes: 1 addition & 1 deletion jans-linux-setup/jans_setup/setup_app/installers/fido.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def copy_static(self):

#copy fido2 server metadata
self.copyTree(
os.path.join(Config.install_dir, 'static/auth/fido2/server_metadata'),
os.path.join(Config.install_dir, 'static/fido2/server_metadata'),
os.path.join(self.fido2ConfigFolder, 'server_metadata')
)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fido2 metadata will go here

0 comments on commit 8e95b7a

Please sign in to comment.