Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
fix expire
Browse files Browse the repository at this point in the history
  • Loading branch information
mstaack committed Mar 8, 2018
1 parent 9c3585f commit df1cc8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Extensions/Authentication/PasetoAuthGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private function generateTokenForUser()
];

$token = $this->getTokenBuilder()
->setExpiration(Carbon::now()->subDay($this->getExpireTime()))
->setExpiration(Carbon::now()->addHours($this->getExpireTime()))
->setIssuer($this->getIssuer())
->setClaims($claims);

Expand Down

0 comments on commit df1cc8f

Please sign in to comment.