File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public static function boot()
65
65
parent ::boot ();
66
66
67
67
static ::creating (function ($ model ) {
68
- if (config ( ' passport.client_uuids ' )) {
68
+ if (Passport:: clientUuids ( )) {
69
69
$ model ->{$ model ->getKeyName ()} = $ model ->{$ model ->getKeyName ()} ?: (string ) Str::orderedUuid ();
70
70
}
71
71
});
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ protected function registerResources()
81
81
*/
82
82
protected function registerMigrations ()
83
83
{
84
- if ($ this ->app ->runningInConsole () && Passport::$ runsMigrations && ! config ( ' passport.client_uuids ' )) {
84
+ if ($ this ->app ->runningInConsole () && Passport::$ runsMigrations && ! Passport:: clientUuids ( )) {
85
85
$ this ->loadMigrationsFrom (__DIR__ .'/../database/migrations ' );
86
86
}
87
87
}
You can’t perform that action at this time.
0 commit comments