Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Aug 8, 2024
1 parent 00927f5 commit dbd78bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/api_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def require_api_key
return if @current_api_key
end

# TODO: Show different errors for when a key has been disabled and when it has expired
render_error("not authorised - use a valid api key", :unauthorized)
end

Expand Down

0 comments on commit dbd78bd

Please sign in to comment.