kodal-uk / craft-email-2fa

Email based Two-factor authentication plugin for Craft CMS
MIT License
4 stars 6 forks source link

$response variable private scope error #7

Open eyekiller-hub opened 2 years ago

eyekiller-hub commented 2 years ago

Hello,

Our team is eager to use this plugin for an upcoming project. We're encountering an error with the verify method. The $response variable in the VerifyController in the plugin is currently set to private. This prevents the verify action from firing successfully.

Changing the scope to public allows the verify method to fire successfully.

Is this due to a change in compatibility with Craft? Is there a workaround, or will the plugin need to be updated to ensure maintainability?

Thanks Screenshot 2022-03-02 at 16 21 21 !