Skip to content

Commit

Permalink
Changing unauthorized back to 401.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshforbes committed Feb 26, 2016
1 parent 8ffa8c1 commit 7112455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ protected function errorNotFound($message = 'Resource Not Found')
*/
protected function errorUnauthorized($message = 'Unauthorized')
{
return $this->setStatusCode(403)->respondWithError($message, self::CODE_UNAUTHORIZED);
return $this->setStatusCode(401)->respondWithError($message, self::CODE_UNAUTHORIZED);
}

/**
Expand Down

0 comments on commit 7112455

Please sign in to comment.