diff --git a/frontend-modern/src/components/Settings/QuickSecuritySetup.tsx b/frontend-modern/src/components/Settings/QuickSecuritySetup.tsx index f7e30d3..2dc602f 100644 --- a/frontend-modern/src/components/Settings/QuickSecuritySetup.tsx +++ b/frontend-modern/src/components/Settings/QuickSecuritySetup.tsx @@ -95,11 +95,6 @@ export const QuickSecuritySetup: Component = (props) => }); if (!response.ok) { - if (response.status === 401 || response.status === 403) { - throw new Error( - 'Pulse detected a legacy DISABLE_AUTH flag. Remove that environment flag and restart Pulse before enabling security here.', - ); - } const error = await response.text(); throw new Error(error || 'Failed to setup security'); } @@ -111,7 +106,7 @@ export const QuickSecuritySetup: Component = (props) => // Security was already configured, don't show credentials showError( result.message || - 'Security is already configured. Please remove existing security first if you want to reconfigure.', + 'Security is already configured. Please remove existing security first if you want to reconfigure.', ); if (props.onConfigured) { props.onConfigured(); @@ -232,22 +227,20 @@ Important: