diff --git a/src/pages/gen2/build-a-backend/auth/manage-user-profile/index.mdx b/src/pages/gen2/build-a-backend/auth/manage-user-profile/index.mdx index a709762830a..db87ead9af2 100644 --- a/src/pages/gen2/build-a-backend/auth/manage-user-profile/index.mdx +++ b/src/pages/gen2/build-a-backend/auth/manage-user-profile/index.mdx @@ -62,7 +62,7 @@ export const auth = defineAuth({ + userAttributes: { + birthdate: { + required: false, -+ immutable: true, ++ mutable: false, + }, + }, }); @@ -85,7 +85,7 @@ export const auth = defineAuth({ }, // do not allow changing of an attribute's value birthdate: { - immutable: true + mutable: false } } // highlight-end