Closed waqleh closed 2 years ago
Using an unregistered email in the Reset Password from leads to ErrorException
steps to reproduce:
Result:
ErrorException Trying to access array offset on value of type bool Illuminate\Foundation\Bootstrap\HandleExceptions::handleError vendor/black-bits/laravel-cognito-auth/src/Auth/ResetsPasswords.php:28
ErrorException Trying to access array offset on value of type bool
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError vendor/black-bits/laravel-cognito-auth/src/Auth/ResetsPasswords.php:28
if ($user['UserStatus'] == CognitoClient::FORCE_PASSWORD_STATUS) {
the solution in this commit was tested and it works as expected
@oheck can you please approve this and create a new tag so i can use it with composer
Using an unregistered email in the Reset Password from leads to ErrorException
steps to reproduce:
Result:
the solution in this commit was tested and it works as expected