“ERROR: Inactive account” blocking valid user logins
-
Hi,
We’re experiencing a login issue caused by Advanced Google reCAPTCHA on a WooCommerce site.
Existing users (including long-time customers) are unable to log in and consistently receive the error:
“ERROR: Inactive account.”This happens regardless of whether the password is reset — resetting the password does not resolve the issue, and the same error continues to appear.
We traced the issue to the following authentication check in the plugin:
if (0 !== intval($userdata->user_status)) { return new WP_Error('incorrect_password', 'ERROR: Inactive account'); }From our checks, the affected users are valid, active accounts, but their
user_statusvalue may not be set to0, which causes them to be blocked from logging in.
You must be logged in to reply to this topic.