diff options
author | Nick Thomas <nick@gitlab.com> | 2016-09-15 19:10:58 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2016-09-19 12:27:37 +0100 |
commit | 48d563a3e4250de5afefa54f5c35cd7ca50d542d (patch) | |
tree | 76d27b544f2101a006688745c9129c3ef47191cf /lib/gitlab/gon_helper.rb | |
parent | 10c072263b2568a64321439860da039a4f572e31 (diff) | |
download | gitlab-ce-48d563a3e4250de5afefa54f5c35cd7ca50d542d.tar.gz |
Stop putting private tokens in Gon
Diffstat (limited to 'lib/gitlab/gon_helper.rb')
-rw-r--r-- | lib/gitlab/gon_helper.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb index c5a11148d33..2c21804fe7a 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -11,7 +11,6 @@ module Gitlab if current_user gon.current_user_id = current_user.id - gon.api_token = current_user.private_token end end end |