mirror of
https://github.com/certd/certd.git
synced 2026-05-16 21:27:34 +08:00
fix: 修复群晖授权没有显示设备id输入框的bug
This commit is contained in:
@@ -245,8 +245,7 @@ export class LoginService {
|
||||
async loginByOpenId(req: { openId: string, type:string }) {
|
||||
const {openId, type} = req;
|
||||
const oauthBound = await this.oauthBoundService.findOne({
|
||||
where:{openId, type: type.replace(':', '')')}
|
||||
});
|
||||
where:{openId, type: type.replace(':', '')}
|
||||
});
|
||||
if (oauthBound == null) {
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user