mirror of
https://github.com/certd/certd.git
synced 2026-05-15 20:47:31 +08:00
fix: 修复二次认证登录进入错误账号的bug
This commit is contained in:
@@ -135,7 +135,7 @@ export class UserService extends BaseService<UserEntity> {
|
||||
return bcrypt.hashSync(plainPassword, salt);
|
||||
}
|
||||
|
||||
async findOne(param: any) {
|
||||
async findOne(param: Record<string,any>) {
|
||||
return this.repository.findOne({
|
||||
where: param,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user