Skip to content

Commit 30498c4

Browse files
authored
Merge pull request #205 from UrielRadzyminski1/patch-1
Change UnauthorizedException http code from 403 to 401
2 parents 4ccfabc + 1289360 commit 30498c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Exceptions/Http/UnauthorizedException.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ class UnauthorizedException extends HttpException
1717
*
1818
* @var int
1919
*/
20-
protected $status = 403;
20+
protected $status = 401;
2121

2222
/**
2323
* An error code.
2424
*
2525
* @var string|null
2626
*/
2727
protected $errorCode = 'unauthorized';
28-
}
28+
}

0 commit comments

Comments
 (0)