Skip to content

Commit

Permalink
Merge pull request tymondesigns#17 from eschricker/bugfix/fix-reset-c…
Browse files Browse the repository at this point in the history
…laims

Migrated PR 2144: Reset claims behaviour
  • Loading branch information
Messhias authored Oct 6, 2021
2 parents 06b8c42 + ae2bd22 commit 602d196
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 602d196

Please sign in to comment.