I send myself a lost password email in order to reset the admin password.

I received the email with the link the reset the password, the problem is that when I click on the link, it takes me to the regular login screen. I entered a new password, instead of the god password, and it gave me an "wrong password" error. Now the system locked me out and I can't get in with the new password I entered or the god password.

Any idea about what to do?