Skip to content

Commit

Permalink
feat: 修改默认签名类
Browse files Browse the repository at this point in the history
  • Loading branch information
qbhy committed Nov 16, 2021
1 parent dda8b9b commit 389483d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions publish/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
* 可选配置
* 默认使用的加密类
*/
'default' => Encrypter\PasswordHashEncrypter::class,
'default' => Encrypter\SHA1Encrypter::class,

/*
* 可选配置
Expand Down Expand Up @@ -131,7 +131,7 @@
* 可选配置
* 默认使用的加密类
*/
'default' => Encrypter\PasswordHashEncrypter::class,
'default' => Encrypter\SHA1Encrypter::class,

/*
* 可选配置
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* 可选配置
* 默认使用的加密类
*/
'default' => \Qbhy\SimpleJwt\EncryptAdapters\SHA1Encrypter::class,
'default' => Qbhy\SimpleJwt\EncryptAdapters\CryptEncrypter::class,
'cache' => new FilesystemCache(sys_get_temp_dir()), // 如果需要分布式部署,请选择 redis 或者其他支持分布式的缓存驱动
];

Expand Down

0 comments on commit 389483d

Please sign in to comment.