21 lines
746 B
Diff
21 lines
746 B
Diff
|
Bug, https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22966
|
||
|
|
||
|
--- a/config/initializers/doorkeeper.rb
|
||
|
+++ b/config/initializers/doorkeeper.rb
|
||
|
@@ -107,15 +107,6 @@
|
||
|
base_controller '::Gitlab::BaseDoorkeeperController'
|
||
|
end
|
||
|
|
||
|
-# Monkey patch to avoid creating new applications if the scope of the
|
||
|
-# app created does not match the complete list of scopes of the configured app.
|
||
|
-# It also prevents the OAuth authorize application window to appear every time.
|
||
|
-
|
||
|
-# Remove after we upgrade the doorkeeper gem from version 4.3.2
|
||
|
-if Doorkeeper.gem_version > Gem::Version.new('4.3.2')
|
||
|
- raise "Doorkeeper was upgraded, please remove the monkey patch in #{__FILE__}"
|
||
|
-end
|
||
|
-
|
||
|
module Doorkeeper
|
||
|
module AccessTokenMixin
|
||
|
module ClassMethods
|