Can't log into Magento Admin, "Invalid Captcha" error appears

Please make captcha 1 -> 0 in core_config_data table.

Try after cleaning cache and if not work then reindex.

Update below row in database:

Update core_config_data  set value=0 WHERE  path LIKE  '%admin/captcha/enable%'

php bin/magento cache:flush

php bin/magento cache:clean

If you don't find this row then insert it.


Run commands in the magento root instead of changing in database:

Disable admin login captcha:

php bin/magento config:set admin/captcha/enable 0

Unlock the admin user ( e.g admin )

php bin/magento admin:user:unlock admin

Reindex and Clean the cache

php bin/magento indexer:reindex
php bin/magento c:c

Tags:

Magento2