I have an old Kirby install (3.2.5) that was migrated to a new server that is running on PHP 8.3
I was confused because I wasn’t able to log in with my saved credentials. Then I tried manually setting the .htpasswd by using PASSWORD_BCRYPT to create a hash, which didn’t work.
Then I moved the accounts directory and when creating a new user, upon submitting I get an error “The passwords do not match” - but a user is created with a hash.
Attempting to login with the newly created credentials does not work.
I then noticed that the .htpasswd contains the unhashed plaintext password, I also noticed that php -r “require ‘./kirby/bootstrap.php’; echo \Kirby\Cms\User::hashPassword(‘TEST’);” seems to simply output TEST  - is the hashPassword method broken somehow?
Some notes in case they are relevant:
- Server is using runcloud
- I had to rename the ‘go’ function in kirby/config/helpers.phpas for some reasondefine(‘KIRBY_HELPER_GO’, false);in the rootindex.phpdoesn’t seem to have an effect in resolving a function name conflict