Skip to content

Commit

Permalink
fix: add validation check for SGID_MyInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
wanlingt committed Oct 31, 2023
1 parent 9bd11db commit c5e6a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/models/form.server.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c5e6a70

Please sign in to comment.