Customize cookie name

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-22 14:17:16 +01:00
parent 09abcb44bb
commit 4ac4f9b0a9

View file

@ -91,6 +91,8 @@ class AuthServiceProvider extends ServiceProvider
Passport::refreshTokensExpireIn(Carbon::now()->addYears(config('passport.expiration_years')));
Passport::personalAccessTokensExpireIn(Carbon::now()->addYears(config('passport.expiration_years')));
Passport::cookie('snipeit_token');
/**
* BEFORE ANYTHING ELSE