]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Update to rails 7.0.2.3
[rails.git] / app / controllers / api_controller.rb
index 2d8d51dd8507719f653228b39e358a6c86b6e72c..050c455cdf64f6bf09bf4e01db8849683fb0cc31 100644 (file)
@@ -100,7 +100,7 @@ class ApiController < ApplicationController
     elsif Authenticator.new(self, [:token]).allow?
       # self.current_user setup by OAuth
     else
-      username, passwd = get_auth_data # parse from headers
+      username, passwd = auth_data # parse from headers
       # authenticate per-scheme
       self.current_user = if username.nil?
                             nil # no authentication provided - perhaps first connect (client should retry after 401)