このコミットが含まれているのは:
2025-07-09 23:58:03 +09:00
コミット b83fc6369a
4個のファイルの変更46行の追加38行の削除
+1 -3
ファイルの表示
@@ -9,8 +9,6 @@ class ApplicationController < ActionController::API
def authenticate_user
code = request.headers['X-Transfer-Code'] || request.headers['HTTP_X_TRANSFER_CODE']
@current_user = User.find_by inheritance_code: code
Rails.logger.info("X-Transfer-Code: #{request.headers['X-Transfer-Code']}")
Rails.logger.info("current_user: #{@current_user&.id}")
@current_user = User.find_by(inheritance_code: code)
end
end