Skip to content

Commit

Permalink
Response code for Authentication required changed to 403
Browse files Browse the repository at this point in the history
  • Loading branch information
vinodraut committed Aug 1, 2017
1 parent e6aac07 commit efe6b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/YesAuthority.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ public function check($accessIdKey = null, $requestForUserId = null, array $opti
if($accessDetailsRequired === true) {

$result = $this->detailsFormat(false, $accessIdKey, [
'response_code' => 511,
'message' => 'Authentication Required'
'response_code' => 403,
'message' => 'Forbidden - Authentication Required'
]);

if($this->isDirectChecked === true) {
Expand Down

0 comments on commit efe6b94

Please sign in to comment.