Skip to content

Commit e4f26e9

Browse files
committed
remove fe check on authtype
1 parent def519a commit e4f26e9

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

frontend/src/features/admin-form/settings/components/FormStatusToggle.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,7 @@ export const FormStatusToggle = (): JSX.Element => {
4141
if (status === FormStatus.Public) return
4242

4343
// Prevent form activation if form has authType but no esrvcId.
44-
if (
45-
authType &&
46-
[FormAuthType.CP, FormAuthType.SP, FormAuthType.MyInfo].includes(
47-
authType,
48-
) &&
49-
!esrvcId
50-
) {
44+
if (authType && [FormAuthType.CP].includes(authType) && !esrvcId) {
5145
return t(
5246
'features.adminForm.settings.general.status.supplySingpassEServiceId',
5347
)

0 commit comments

Comments
 (0)