From c5e6a70764d5229a36985b363cc4695e49dfad6d Mon Sep 17 00:00:00 2001 From: wanlingt Date: Tue, 31 Oct 2023 12:02:48 +0800 Subject: [PATCH] fix: add validation check for SGID_MyInfo --- src/app/models/form.server.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/models/form.server.model.ts b/src/app/models/form.server.model.ts index 54f50bf099..0f4f887fa0 100644 --- a/src/app/models/form.server.model.ts +++ b/src/app/models/form.server.model.ts @@ -469,7 +469,7 @@ const compileFormModel = (db: Mongoose): IFormModel => { } else if ( this.responseMode === FormResponseMode.Encrypt && // MyInfo is not available for storage mode - v === FormAuthType.MyInfo + (v === FormAuthType.MyInfo || v === FormAuthType.SGID_MyInfo) ) { return FormAuthType.NIL } else {