ellaisys / aws-cognito

AWS Cognito package (with MFA Feature) using the AWS SDK for PHP/Laravel
https://ellaisys.github.io/aws-cognito/
MIT License
110 stars 43 forks source link

code not implemented #97

Closed erezKaufmann closed 5 months ago

erezKaufmann commented 6 months ago

Describe the bug A clear and concise description of what the bug is.

  1. AwsCognitoUserPool.php - getDataUserPool method, $client is used as local variable when it should be global ($this->client)
  2. AuthenticatesUsers.php - attemptLoginMFA method, $credentials, $keyPassword and $paramUsername are used but not declared.

Expected behavior variables should be declared before use