Forgot password flow does not work, getting email with a link but after clicking link it’s not working

I got same issue a few days ago. I figured out that the problem was in my theme. How did I knew that. I disabled all the plugins and tried again but the problem still there so I connected my hosting to help me and they just whitelisted my IP-addresse in Security Mode but the problem still there so I switched to the Twenty Fifteen theme and it’s worked. So the problem was in my theme. I connected the theme author and they said they will release an update to it.