diff --git a/CHANGELOG.md b/CHANGELOG.md index 06841fe0..4f00f8be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ You can find and compare releases at the GitHub release page. ### Fixed - Fixes #259 - Can't logout with an expired token - Fixed #271 - Changing JWT_TTL in .env doesn't work +- Fixes #274 - Do not display jwt secret on console after successfully generated a new key ### Added - Add `cookie_key_name` config to customize cookie name for authentication diff --git a/src/Console/JWTGenerateSecretCommand.php b/src/Console/JWTGenerateSecretCommand.php index f456c7a2..c8cafd26 100644 --- a/src/Console/JWTGenerateSecretCommand.php +++ b/src/Console/JWTGenerateSecretCommand.php @@ -73,7 +73,7 @@ public function handle() if ($updated) { $this->updateEnvEntry('JWT_ALGO', 'HS256'); - $this->displayKey($key); + $this->info('jwt-auth secret set successfully.'); } }