We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03e4e51 commit 07b5f11Copy full SHA for 07b5f11
src/Console/ClientCommand.php
@@ -5,6 +5,7 @@
5
use Illuminate\Console\Command;
6
use Laravel\Passport\Client;
7
use Laravel\Passport\ClientRepository;
8
+use Laravel\Passport\Passport;
9
10
class ClientCommand extends Command
11
{
@@ -161,6 +162,11 @@ protected function createAuthCodeClient(ClientRepository $clients)
161
162
*/
163
protected function outputClientDetails(Client $client)
164
165
+ if (Passport::$hashesClientSecrets) {
166
+ $this->line('<comment>Here is your new client secret. This is the only time it will be shown so don\'t lose it!</comment>');
167
+ $this->line('');
168
+ }
169
+
170
$this->line('<comment>Client ID:</comment> '.$client->id);
171
$this->line('<comment>Client secret:</comment> '.$client->plainSecret);
172
}
0 commit comments