Skip to content

Commit

Permalink
fix: update identity claim version change to next major
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleadams committed Apr 28, 2022
1 parent 712d5fa commit 5908c38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ describe('showDefaultIdentityClaimWarning', () => {
expect(printer.warn).toBeCalledTimes(1);
expect(printer.warn).toBeCalledWith(
' WARNING: Amplify CLI will change the default identity claim from \'username\' '
+ 'to use \'sub:username\'. To continue using only usernames, set \'identityClaim: "username"\' on your '
+ '\'owner\' rules on your schema. The default will be officially switched with v8.0.0. To read '
+ 'to use \'sub::username\'. To continue using only usernames, set \'identityClaim: "username"\' on your '
+ '\'owner\' rules on your schema. The default will be officially switched with v9.0.0. To read '
+ 'more: https://link.to/docs-and-migration-gudes',
);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const showDefaultIdentityClaimWarning = (context: TransformerContextProvi

printer.warn(
' WARNING: Amplify CLI will change the default identity claim from \'username\' '
+ 'to use \'sub:username\'. To continue using only usernames, set \'identityClaim: "username"\' on your '
+ '\'owner\' rules on your schema. The default will be officially switched with v8.0.0. To read '
+ 'to use \'sub::username\'. To continue using only usernames, set \'identityClaim: "username"\' on your '
+ '\'owner\' rules on your schema. The default will be officially switched with v9.0.0. To read '
+ 'more: https://link.to/docs-and-migration-gudes',
);
}
Expand Down

0 comments on commit 5908c38

Please sign in to comment.