Skip to content

Commit

Permalink
Revert "For the better security best practice, added PreventUserExist…
Browse files Browse the repository at this point in the history
…enceErrors: ENABLED. (aws-amplify#3534)" (aws-amplify#5736)

This reverts commit 5d474d3.
  • Loading branch information
edwardfoyle authored and Ross Ragsdale committed Nov 19, 2020
1 parent d83ecf4 commit 81f6050
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ Resources:
<% } %>
RefreshTokenValidity: !Ref userpoolClientRefreshTokenValidity
UserPoolId: !Ref UserPool
PreventUserExistenceErrors: ENABLED
DependsOn: UserPool
UserPoolClient:
# Created provide application access to user pool
Expand All @@ -320,7 +319,6 @@ Resources:
GenerateSecret: !Ref userpoolClientGenerateSecret
RefreshTokenValidity: !Ref userpoolClientRefreshTokenValidity
UserPoolId: !Ref UserPool
PreventUserExistenceErrors: ENABLED
DependsOn: UserPool
# BEGIN USER POOL LAMBDA RESOURCES
UserPoolClientRole:
Expand Down Expand Up @@ -369,7 +367,7 @@ Resources:
- ' }'
- '};'
Handler: index.handler
Runtime: nodejs12.x
Runtime: nodejs10.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -495,7 +493,7 @@ Resources:
Handler: index.handler
Runtime: nodejs12.x
Runtime: nodejs10.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -624,7 +622,7 @@ Resources:
- '} '
Handler: index.handler
Runtime: nodejs12.x
Runtime: nodejs10.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -723,7 +721,7 @@ Resources:
- '}'
Handler: index.handler
Runtime: nodejs12.x
Runtime: nodejs10.x
Timeout: '300'
Role: !GetAtt
- UserPoolClientRole
Expand Down Expand Up @@ -844,7 +842,7 @@ Resources:
- ' }'
- '};'
Handler: index.handler
Runtime: nodejs12.x
Runtime: nodejs10.x
Timeout: '300'
Role: !GetAtt
- MFALambdaRole
Expand Down Expand Up @@ -1004,7 +1002,7 @@ Resources:
- ' }'
- '};'
Handler: index.handler
Runtime: nodejs12.x
Runtime: nodejs10.x
Timeout: '300'
Role: !GetAtt
- OpenIdLambdaRole
Expand Down

0 comments on commit 81f6050

Please sign in to comment.