X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1a4faa4507b98ae103234f25b07c2a4e21c6017e..0c524b240858303b40078608dd76a1b2b6023b47:/app/controllers/api_controller.rb diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index 050c455cd..83a35e15f 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -109,6 +109,8 @@ class ApiController < ApplicationController else User.authenticate(:username => username, :password => passwd) # basic auth end + # log if we have authenticated using basic auth + logger.info "Authenticated as user #{current_user.id} using basic authentication" if current_user end # have we identified the user?