diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-09-15 11:54:24 -0500 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-09-15 12:21:00 -0500 |
commit | be09bcf074e6048aa9ba5f8dfb99754e6afbe156 (patch) | |
tree | 005f87b80bfe5e3f2320398252b18eb7601cbb8f /lib/gitlab/lfs_token.rb | |
parent | de24075ea5960bd7c6290c05496915e8f0ca23f2 (diff) | |
download | gitlab-ce-be09bcf074e6048aa9ba5f8dfb99754e6afbe156.tar.gz |
Refactored authentication code to make it a bit clearer, added test for wrong SSH key.
Diffstat (limited to 'lib/gitlab/lfs_token.rb')
-rw-r--r-- | lib/gitlab/lfs_token.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/lfs_token.rb b/lib/gitlab/lfs_token.rb index 224e4516074..f492754b1c8 100644 --- a/lib/gitlab/lfs_token.rb +++ b/lib/gitlab/lfs_token.rb @@ -13,7 +13,7 @@ module Gitlab when Key actor.user else - # + raise 'Bad Actor' end end |