Skip to content

Commit

Permalink
fix(amplify-category-auth): add auth user selections to config files
Browse files Browse the repository at this point in the history
  • Loading branch information
lazpavel committed Jul 27, 2021
1 parent 1e00136 commit 3c9f548
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function getCognitoConfig(cognitoResources, projectRegion) {
};
}

Object.assign(cognitoConfig, cognitoResource.frontEndConfig);
Object.assign(cognitoConfig.Auth.Default, cognitoResource.frontEndConfig);

return cognitoConfig;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function getCognitoConfig(cognitoResources, projectRegion) {
};
}

Object.assign(cognitoConfig, cognitoResource.frontEndConfig);
Object.assign(cognitoConfig.Auth.Default, cognitoResource.frontEndConfig);

return cognitoConfig;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function getCognitoConfig(cognitoResources, projectRegion) {
};
}

Object.assign(cognitoConfig, cognitoResource.frontEndConfig);
Object.assign(cognitoConfig.Auth.Default, cognitoResource.frontEndConfig);

return cognitoConfig;
}
Expand Down

0 comments on commit 3c9f548

Please sign in to comment.