Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix: alert that certain fields in user settings are disabled is always shown (#928)

Meier Lukas9258c397e068
diff --git a/apps/nextjs/src/app/[locale]/manage/users/[userId]/general/page.tsx b/apps/nextjs/src/app/[locale]/manage/users/[userId]/general/page.tsx
index 20099f17c..756554366 100644
--- a/apps/nextjs/src/app/[locale]/manage/users/[userId]/general/page.tsx
+++ b/apps/nextjs/src/app/[locale]/manage/users/[userId]/general/page.tsx
@@ -58,9 +58,11 @@ export default async function EditUserPage({ params }: Props) {
return (
<Stack>
- <Alert variant="light" color="yellow" icon={<IconExclamationCircle size="1rem" stroke={1.5} />}>
- {t("management.page.user.fieldsDisabledExternalProvider")}
- </Alert>
+ {!isCredentialsUser && (
+ <Alert variant="light" color="yellow" icon={<IconExclamationCircle size="1rem" stroke={1.5} />}>
+ {t("management.page.user.fieldsDisabledExternalProvider")}
+ </Alert>
+ )}
<Title>{tGeneral("title")}</Title>
<Group gap="xl">