Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-09-28 18:08:11 +0300
committerShinya Maeda <shinya@gitlab.com>2017-09-28 18:08:11 +0300
commitbda1b0a878205ac99bf10c0b4f0e63f2d4e3a25f (patch)
tree09d5318034ed17966be0fa74a7a4e07fde0b2c05 /app/controllers/google_api
parentfabc359e77c39aea86f0eaa9f19b17b2a609dd99 (diff)
Databse foreing key, index, encrypt password. Use short path. Improve error handling. Polish.
Diffstat (limited to 'app/controllers/google_api')
-rw-r--r--app/controllers/google_api/authorizations_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/google_api/authorizations_controller.rb b/app/controllers/google_api/authorizations_controller.rb
index 1fafd7e88be..4b315181b7d 100644
--- a/app/controllers/google_api/authorizations_controller.rb
+++ b/app/controllers/google_api/authorizations_controller.rb
@@ -1,8 +1,6 @@
module GoogleApi
class AuthorizationsController < ApplicationController
- # /google_api/authorizations/callback(.:format)
def callback
- # TODO: Error handling
session[GoogleApi::CloudPlatform::Client.token_in_session] =
GoogleApi::Authentication.new(nil, callback_google_api_authorizations_url)
.get_token(params[:code])