diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-26 21:09:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-26 21:09:45 +0300 |
commit | e7e40d45b066139707b3b851c6004e075da5226b (patch) | |
tree | cc99f48e2aaedbe9e8dac53fa4ca8d8f6f270bb4 /lib/gitlab/authorized_keys.rb | |
parent | aad3ac9e5e59d47e389ff387e9fc2ae3a008de33 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/authorized_keys.rb')
-rw-r--r-- | lib/gitlab/authorized_keys.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/authorized_keys.rb b/lib/gitlab/authorized_keys.rb index 50cd15b7a10..e7eba65bea8 100644 --- a/lib/gitlab/authorized_keys.rb +++ b/lib/gitlab/authorized_keys.rb @@ -161,7 +161,7 @@ module Gitlab end def strip(key) - key.split(/[ ]+/)[0, 2].join(' ') + key.split(/ +/)[0, 2].join(' ') end end end |