Skip to content

Commit 11b7a52

Browse files
committed
私钥未配置.bug修复
1 parent 4d94838 commit 11b7a52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Command/JwtCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected function execute(Input $input, Output $output)
3535
$file->setStrictTypes();
3636

3737
$config = config('jwt');
38-
$config['signer_key'] = randomKey();
38+
$config['signerKey'] = randomKey();
3939
$config = 'return '.Helpers::dump($config).';';
4040

4141
file_put_contents($this->app->getConfigPath().'jwt.php', $file.$config);

0 commit comments

Comments
 (0)