File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class JWTGenerateSecretCommand extends Command
2626 */
2727 protected $ signature = 'jwt:secret
2828 {--s|show : Display the key instead of modifying files.}
29+ {--no-show : Do not display the newly generated key to console.}
2930 {--always-no : Skip generating key if it already exists.}
3031 {--f|force : Skip confirmation when overwriting an existing key.} ' ;
3132
@@ -73,7 +74,7 @@ public function handle()
7374
7475 if ($ updated ) {
7576 $ this ->updateEnvEntry ('JWT_ALGO ' , 'HS256 ' );
76- $ this ->displayKey ( $ key );
77+ $ this ->info ( ' jwt-auth secret set successfully. ' );
7778 }
7879 }
7980
You can’t perform that action at this time.
0 commit comments