Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid self signup #145

Merged
merged 15 commits into from
Nov 2, 2023
Merged

Invalid self signup #145

merged 15 commits into from
Nov 2, 2023

Conversation

kazuhitogo
Copy link
Collaborator

super(scope, id);

const selfSignUpEnabled: boolean = props.selfSignUpEnabled || false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

この行は不要ですね

const userPool = new UserPool(this, 'UserPool', {
selfSignUpEnabled: true,
selfSignUpEnabled: selfSignUpEnabled,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここは selfSignUpEnabled: props.selfSignUpEnabled で良いです。

@@ -9,8 +9,12 @@ export class GenerativeAiUseCasesStack extends Stack {
process.env.overrideWarningsEnabled = 'false';

const ragEnabled: boolean = this.node.tryGetContext('ragEnabled') || false;
const selfSignUpEnabled: boolean =
this.node.tryGetContext('selfSignUpEnabled') || false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cdk context のデフォルト値に合わせたいので true でお願いします!

@tbrand tbrand merged commit 400cc07 into main Nov 2, 2023
1 check passed
@tbrand tbrand deleted the invalid-self-signup branch November 2, 2023 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants