Skip to content

Commit 885c5bf

Browse files
authored
Merge pull request #1 from cinaofdai/master
私钥未配置.bug修复
2 parents 4d94838 + 11b7a52 commit 885c5bf

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)