From 3b32cb2a690fada88854e7a181cb41b9485a688e Mon Sep 17 00:00:00 2001 From: josef Date: Mon, 8 Jan 2024 07:01:13 -0800 Subject: [PATCH] gen2 auth fix immutable -> mutable (#6739) * immutable -> mutable * true -> false --- .../gen2/build-a-backend/auth/manage-user-profile/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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