/home/techb158/ileadtechnology.com/vendor/laravel/passport/src/Console
NameSizeModeActions
ClientCommand.php52760644editdlrm
HashCommand.php14840644editdlrm
InstallCommand.php33170644editdlrm
KeysCommand.php15320644editdlrm
PurgeCommand.php20620644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/laravel/passport/src/Console/HashCommand.php (1484B)
warn('Please enable client hashing yet in your AppServiceProvider before continuing.'); return; } if ($this->option('force') || $this->confirm('Are you sure you want to hash all client secrets? This cannot be undone.')) { $model = Passport::clientModel(); foreach ((new $model)->whereNotNull('secret')->cursor() as $client) { if (password_get_info($client->secret)['algo'] === PASSWORD_BCRYPT) { continue; } $client->timestamps = false; $client->forceFill([ 'secret' => $client->secret, ])->save(); } $this->info('All client secrets were successfully hashed.'); } } }