diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-22 11:44:44 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:32:22 -0600 |
commit | eacae00516ffe534f197eeca20655cbc0fdf5694 (patch) | |
tree | 4cdaa63ff32117cc3e55f5f96c4ff881860dd5f7 /app/controllers/jwt_controller.rb | |
parent | 99a34a52d7e329f41bf43dd4d1d3ada3aca641b2 (diff) | |
download | gitlab-ce-eacae00516ffe534f197eeca20655cbc0fdf5694.tar.gz |
Enable Style/MultilineHashBraceLayout
Diffstat (limited to 'app/controllers/jwt_controller.rb')
-rw-r--r-- | app/controllers/jwt_controller.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/controllers/jwt_controller.rb b/app/controllers/jwt_controller.rb index 3eac6285394..1b40645f2c9 100644 --- a/app/controllers/jwt_controller.rb +++ b/app/controllers/jwt_controller.rb @@ -39,7 +39,8 @@ class JwtController < ApplicationController message: "HTTP Basic: Access denied\n" \ "You have 2FA enabled, please use a personal access token for Git over HTTP.\n" \ "You can generate one at #{profile_personal_access_tokens_url}" } - ] }, status: 401 + ] + }, status: 401 end def render_unauthorized @@ -47,7 +48,8 @@ class JwtController < ApplicationController errors: [ { code: 'UNAUTHORIZED', message: 'HTTP Basic: Access denied' } - ] }, status: 401 + ] + }, status: 401 end def auth_params |