hydra brute force http-post-form

i know with hydra HTTP post form to success u have to insert error message when the password is wrong.

but in my case, i don’t have an error message, i have a redirection to page if error ..

how to solve the problem ?

login: /admins/

success: /admins/index.php

error: /my_account

this is the scenario …. how to solve my problem ?