mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix class not found.
This commit is contained in:
parent
898a517ae9
commit
ba740322f4
@ -68,10 +68,11 @@ class AuthServiceProvider extends ServiceProvider
|
|||||||
Passport::routes();
|
Passport::routes();
|
||||||
Passport::tokensExpireIn(now()->addDays(14));
|
Passport::tokensExpireIn(now()->addDays(14));
|
||||||
|
|
||||||
|
if (class_exists(\LdapRecord\Models\OpenLDAP\User::class)) {
|
||||||
\LdapRecord\Models\OpenLDAP\User::addGlobalScope(
|
\LdapRecord\Models\OpenLDAP\User::addGlobalScope(
|
||||||
new UserDefinedScope
|
new UserDefinedScope
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user