Skip to content

Commit 2e4041d

Browse files
committed
don't show jwt secret if show option is false even if the key is updated
1 parent 7f5bb61 commit 2e4041d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ You can find and compare releases at the GitHub release page.
1414

1515
### Added
1616
- Add `cookie_key_name` config to customize cookie name for authentication
17+
- Add option `no-show` for jwt generate secret key command
1718

1819
### Removed
1920

src/Console/JWTGenerateSecretCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function handle()
7373

7474
if ($updated) {
7575
$this->updateEnvEntry('JWT_ALGO', 'HS256');
76-
$this->displayKey($key);
76+
$this->info('jwt-auth secret set successfully.');
7777
}
7878
}
7979

0 commit comments

Comments
 (0)