laravel / passport

Laravel Passport provides OAuth2 server support to Laravel.
https://laravel.com/docs/passport
MIT License
3.29k stars 780 forks source link

[12.x] Fix purge command #1772

Closed hafezdivandari closed 4 months ago

hafezdivandari commented 4 months ago

Fixes #1770

The passport:purge command was not working properly with --hours option. This PR fixes this and adds some tests for the command.

hafezdivandari commented 4 months ago

@driesvints would you please merge 12.x into 13.x? Thanks!

driesvints commented 4 months ago

@hafezdivandari done.