BudgetSquirrel / BudgetTracker

Budget Tracker allows users to manage their money more efficiently. This API has endpoint to save, create, and manage your budgets and goals.
4 stars 0 forks source link

Unauthorized requests should return a 403 #40

Closed ianmann56 closed 5 years ago

ianmann56 commented 5 years ago

Any time the user object in an Api request is unauthorized, return a 403. Right now, an error is being thrown but not handled. This error can be caught in the controller which will then return the 403 response.