Skip to content

Commit 3b32cb2

Browse files
authored
gen2 auth fix immutable -> mutable (aws-amplify#6739)
* immutable -> mutable * true -> false
1 parent c46cef0 commit 3b32cb2

File tree

1 file changed

+2
-2
lines changed
  • src/pages/gen2/build-a-backend/auth/manage-user-profile

1 file changed

+2
-2
lines changed

src/pages/gen2/build-a-backend/auth/manage-user-profile/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const auth = defineAuth({
6262
+ userAttributes: {
6363
+ birthdate: {
6464
+ required: false,
65-
+ immutable: true,
65+
+ mutable: false,
6666
+ },
6767
+ },
6868
});
@@ -85,7 +85,7 @@ export const auth = defineAuth({
8585
},
8686
// do not allow changing of an attribute's value
8787
birthdate: {
88-
immutable: true
88+
mutable: false
8989
}
9090
}
9191
// highlight-end

0 commit comments

Comments
 (0)