mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-03 20:14:31 +00:00
🤖 Auto commit for release 'develop' on 2025-05-04
This commit is contained in:
@@ -48,12 +48,12 @@ class AuthServiceProvider extends ServiceProvider
|
||||
{
|
||||
Auth::provider(
|
||||
'remote_user_provider',
|
||||
static fn($app, array $config) => new RemoteUserProvider()
|
||||
static fn ($app, array $config) => new RemoteUserProvider()
|
||||
);
|
||||
|
||||
Auth::extend(
|
||||
'remote_user_guard',
|
||||
static fn($app, string $name, array $config) => new RemoteUserGuard(Auth::createUserProvider($config['provider']), $app)
|
||||
static fn ($app, string $name, array $config) => new RemoteUserGuard(Auth::createUserProvider($config['provider']), $app)
|
||||
);
|
||||
|
||||
Passport::tokensExpireIn(now()->addDays(14));
|
||||
|
||||
Reference in New Issue
Block a user