Skip to content

Commit

Permalink
Enable self sign up
Browse files Browse the repository at this point in the history
  • Loading branch information
matusfaro committed Jan 5, 2024
1 parent 7a91de9 commit 3e6f6a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public AuthNzStack(Construct parent, DeployEnvironment deployEnv) {

userPool = UserPool.Builder.create(this, getConstructId("userpool"))
.userPoolName(getConstructId("userpool"))
.selfSignUpEnabled(false)
.selfSignUpEnabled(true)
.autoVerify(AutoVerifiedAttrs.builder()
.email(true).build())
.mfa(Mfa.OPTIONAL)
Expand Down

0 comments on commit 3e6f6a0

Please sign in to comment.