ssh: rollback temp changes as it creates even more problems with cross drive linking

This commit is contained in:
RhodeCode Admin 2023-01-11 21:11:30 +01:00
parent 1c3b7de2fc
commit 5f9fc66a86

View file

@ -53,7 +53,7 @@ def _generate_ssh_authorized_keys_file(
authorized_keys_file_path = os.path.abspath(
os.path.expanduser(authorized_keys_file_path))
tmp_file_dir = tempfile.gettempdir()
tmp_file_dir = os.path.dirname(authorized_keys_file_path)
all_active_keys = get_all_active_keys()