diff options
Diffstat (limited to 'lib/gitlab_keys.rb')
-rw-r--r-- | lib/gitlab_keys.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/gitlab_keys.rb b/lib/gitlab_keys.rb index 7eae17c..1cbaffb 100644 --- a/lib/gitlab_keys.rb +++ b/lib/gitlab_keys.rb @@ -15,7 +15,6 @@ class GitlabKeys case @command when 'add-key'; add_key when 'rm-key'; rm_key - when 'rm-user'; rm_user else puts 'not allowed' end @@ -33,9 +32,4 @@ class GitlabKeys cmd = "sed '/#{@key}/d' #{auth_file}" system(cmd) end - - def rm_user - cmd = "sed -i '/gitlab-shell #{@username},/d' #{auth_file}" - system(cmd) - end end |