Unable to login after email verification

I just finished seting up self-hosted bitwarden server and it’s working mostly fine. But when I try to verify email of a account, I receive the verification without the problem, when I click the verification link, it says the account was verified. But after the verification I’m unable to sign in. When I click log in (with correct credentials), I get popup that a unexpected error has occured. Before verifying the email I’m able to use the account just fine, the problems only occur after verifying it. I was unable to find any post that would cover issue like this, does anyone have any idea what could be causing this and how could it be fixed?