79510923

Date: 2025-03-15 10:02:41
Score: 1
Natty:
Report link

you can set this lines in AppServiceProvider in boot method like this :

public function boot(): void
    {
        Passport::tokensExpireIn(now()->addDays(1000));
        Passport::refreshTokensExpireIn(now()->addDays(1000));
        Passport::personalAccessTokensExpireIn(now()->addMonths(60));       
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ramtin Ghobadi