Password Bcrypt bug alert

When an ftp account is created via cyberpanel or wordpress + litespeed is installed, it does the hashing of user passwords incorrectly. so if the user enters the correct password, he gets the password incorrect warning.
I solved this problem with the following article. I am using ubuntu 22.04.

I am writing to this community so that you have information about the subject.