lib/apress/api/api_controller/authentification.rb in apress-api-1.23.0 vs lib/apress/api/api_controller/authentification.rb in apress-api-1.24.0
- old
+ new
@@ -23,10 +23,10 @@
return unless auth_service.call
@current_api_client = auth_service.client
end
def authenticate
- forbidden unless @current_api_client
+ unauthorized unless @current_api_client
end
end
end
end
end