Skip to content

Commit d256673

Browse files
author
Administrator
committed
修改 jwt command 配置
1 parent 121297d commit d256673

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
@@ -37,7 +37,7 @@ protected function execute(Input $input, Output $output)
3737
$file->setStrictTypes();
3838

3939
$config = config('jwt.apps.admin');
40-
$config['default']['signerKey'] = randomKey();
40+
$config['token']['signerKey'] = randomKey();
4141
$config = 'return '.Helpers::dump($config).';';
4242

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

0 commit comments

Comments
 (0)