Skip to content

Commit

Permalink
gen2 auth fix immutable -> mutable (#6739)
Browse files Browse the repository at this point in the history
* immutable -> mutable

* true -> false
  • Loading branch information
josefaidt authored Jan 8, 2024
1 parent c46cef0 commit 3b32cb2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const auth = defineAuth({
+ userAttributes: {
+ birthdate: {
+ required: false,
+ immutable: true,
+ mutable: false,
+ },
+ },
});
Expand All @@ -85,7 +85,7 @@ export const auth = defineAuth({
},
// do not allow changing of an attribute's value
birthdate: {
immutable: true
mutable: false
}
}
// highlight-end
Expand Down

0 comments on commit 3b32cb2

Please sign in to comment.