fakruzaruret I dont know if now Flarum introduced an SSH command to disable an extension that cause issues, for example this Captcha extension that with the new update cause login and reset password issue.
You can unistall the extension for be able to login:
SSH command:
composer remove fof/recaptcha
Or maybe I don't know if you can edit the database to disable captcha for login and reset page, if you try to do any database edit save a backup before do any edit.
You can maybe try to install the old extension version:
composer require fof/recaptcha:1.1.1