We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c942c22 + d256673 commit 90efb12Copy full SHA for 90efb12
1 file changed
src/Command/JwtCommand.php
@@ -36,8 +36,8 @@ protected function execute(Input $input, Output $output)
36
$file->addComment('Jwt 配置');
37
$file->setStrictTypes();
38
39
- $config = config('jwt');
40
- $config['default']['signerKey'] = randomKey();
+ $config = config('jwt.apps.admin');
+ $config['token']['signerKey'] = randomKey();
41
$config = 'return '.Helpers::dump($config).';';
42
43
file_put_contents($this->app->getConfigPath().'jwt.php', $file.$config);
0 commit comments