File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -148,15 +148,6 @@ def current_user_id
148
148
# transfer the knowledge about also checking for the params.
149
149
def munge_header_auth_token!
150
150
return unless params [ :token ]
151
- deprecation = ActiveSupport ::Deprecation . new ( "1.0" , "kracken" )
152
- deprecation . behavior = ActiveSupport ::Deprecation . behavior
153
- deprecation . silenced = ActiveSupport ::Deprecation . silenced
154
- controller_action = "#{ request . controller_class } #" \
155
- "#{ request . path_parameters [ :action ] || :index } "
156
- deprecation . warn "[#{ controller_action } ][kracken] Passing auth " \
157
- "tokens as query parameters is deprecated. This is insecure and " \
158
- "will be removed in a future version of Kracken. Use the " \
159
- "'Authorization' header instead."
160
151
request . env [ 'HTTP_AUTHORIZATION' ] = "Token token=\" #{ params [ :token ] } \" "
161
152
end
162
153
You can’t perform that action at this time.
0 commit comments