diff options
author | Pablo Carranza <pcarranza@gmail.com> | 2016-03-11 18:07:03 +0000 |
---|---|---|
committer | Pablo Carranza <pcarranza@gmail.com> | 2016-03-24 20:48:27 +0000 |
commit | 720047a65be6c64ebcf2cb4b01765d9e4ec958b2 (patch) | |
tree | f18fa37e3291ea6bed00d53c52b2f2e10a3b6e99 /bin | |
parent | 79aed51b9010151a48cc519e41d0805e652cb24e (diff) | |
download | gitlab-shell-720047a65be6c64ebcf2cb4b01765d9e4ec958b2.tar.gz |
Change the key format when generating the authorized key to match the legacy one
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/authorized_keys | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/authorized_keys b/bin/authorized_keys index 1e070ec..6c63efa 100755 --- a/bin/authorized_keys +++ b/bin/authorized_keys @@ -19,7 +19,7 @@ require_relative "../lib/gitlab_keys" authorized_key = GitlabNet.new.authorized_key(key) unless authorized_key.nil? - puts GitlabKey.new.key_line(authorized_key["id"], authorized_key["key"]) + puts GitlabKey.new.key_line("key-#{authorized_key['id']}", authorized_key["key"]) else puts "# No key was found for #{key}" end |