Skip to content

Commit

Permalink
The behaviour was changed, that claims get reset as default. The PR w…
Browse files Browse the repository at this point in the history
…as originally created here tymondesigns/jwt-auth#2144 by little-apps
  • Loading branch information
eschricker committed Oct 6, 2021
1 parent 4314ea3 commit 8a807dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function __construct(ClaimFactory $claimFactory, PayloadValidator $valida
*
* @return \PHPOpenSourceSaver\JWTAuth\Payload
*/
public function make($resetClaims = false)
public function make($resetClaims = true)
{
if ($resetClaims) {
$this->emptyClaims();
Expand Down

0 comments on commit 8a807dd

Please sign in to comment.