Panel: The user does not have a password

I just deployed my Kirby site to a production server but I can’t access the panel with my credentials.

Once e-mail and password are submitted, I get this error:
The user does not have a password

I even removed my account folder from /accounts to re-install the panel (to verify my password was right) but I keep getting this error once in production.

If that’s something to consider, the user.txt file generated is empty…

Does anyone know why this happen?

The password is not stored in user.txt but in the .htpasswd file. Check if this file exists on the production server in the right account folder and contains a hashed password.