mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
update dependencies basic
This commit is contained in:
@@ -23,9 +23,6 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
if (class_exists(Passport::class)) {
|
||||
Passport::ignoreMigrations();
|
||||
}
|
||||
do_action('nexus_register');
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ class AuthServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
$this->registerPolicies();
|
||||
// $this->registerPolicies();
|
||||
if (class_exists(Passport::class)) {
|
||||
Passport::useClientModel(OauthClient::class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user