- Issue created by @webindustries
- 🇺🇸United States bfuzze9898
I am seeing this issue on Drupal 10.3.11 with miniorange_2fa 5.1.10.
It goes away if I downgrade to 5.1.6, however I did not test 5.1.7-5.1.9. - 🇧🇪Belgium jurgenr
This issue has started since version 5.1.10, and is also triggered in 5.2.*.
The error is triggered because the method invokeTfaforEndUser() in MoAuthUtilities.php calls $response->send() in the middle of the Drupal business logic. The $response object should be returned, so it could be handled by the calling code.
There are a lot of $response->send(); in the code, so providing a patch should handle all these cases.
- 🇮🇳India sudhanshuD Pune, Maharashtra
Hi @jurgenr, The 5.2.0 version mainly includes security issue fixes. Due to this, the latest release does not address the other issues. A new release is planned soon to tackle other issues. In the meantime, I can provide you with a patch for this. Currently working on it.